Merge pull request #270859 from Mic92/eval-fixes
Eval fixes from release-attrpaths-superset.nix optimization
This commit is contained in:
commit
d9957dcdd8
5 changed files with 9 additions and 7 deletions
|
@ -1,4 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs
|
||||
, testers
|
||||
, ... }:
|
||||
let
|
||||
inherit (pkgs) lib;
|
||||
|
||||
|
@ -19,7 +21,7 @@ let
|
|||
passthru.override = args': testsForPackage (args // args');
|
||||
};
|
||||
|
||||
testLegacyNetwork = { nixopsPkg, ... }: pkgs.nixosTest ({
|
||||
testLegacyNetwork = { nixopsPkg, ... }: testers.nixosTest ({
|
||||
name = "nixops-legacy-network";
|
||||
nodes = {
|
||||
deployer = { config, lib, nodes, pkgs, ... }: {
|
||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
inherit (dockapps-sources) version src;
|
||||
|
||||
sourceRoot = "${src.name}/wmsm.app/wmsm";
|
||||
sourceRoot = "${finalAttrs.src.name}/wmsm.app/wmsm";
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
|
|
|
@ -33,8 +33,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
meta = {
|
||||
description = "A system tray for Windowmaker";
|
||||
homepage = "http://wmsystemtray.sourceforge.net";
|
||||
license = licenses.gpl2Only;
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
|
|
@ -21,7 +21,7 @@ let
|
|||
|
||||
gnuArch = if steamArch == "amd64" then "x86_64-linux-gnu"
|
||||
else if steamArch == "i386" then "i386-linux-gnu"
|
||||
else abort "Unsupported architecture";
|
||||
else throw "Unsupported architecture";
|
||||
|
||||
libs = [ "lib/${gnuArch}" "lib" "usr/lib/${gnuArch}" "usr/lib" ];
|
||||
bins = [ "bin" "usr/bin" ];
|
||||
|
|
|
@ -27,7 +27,7 @@ let
|
|||
"i386-linux-gnu"
|
||||
else if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||
"x86_64-linux-gnu"
|
||||
else throw "amdgpu-pro is Linux only. Sorry.";
|
||||
else throw "amdgpu-pro is Linux only. Sorry ${stdenv.hostPlatform.system}.";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
|
||||
|
|
Loading…
Reference in a new issue