Merge pull request #270859 from Mic92/eval-fixes

Eval fixes from release-attrpaths-superset.nix optimization
This commit is contained in:
Silvan Mosberger 2023-11-29 12:29:35 +01:00 committed by GitHub
commit d9957dcdd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 7 deletions

View file

@ -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, ... }: {

View file

@ -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

View file

@ -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;
};
})

View file

@ -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" ];

View file

@ -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 {