diff options
Diffstat (limited to 'nixpkgs/pkgs/build-support/release/nix-build.nix')
-rw-r--r-- | nixpkgs/pkgs/build-support/release/nix-build.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/build-support/release/nix-build.nix b/nixpkgs/pkgs/build-support/release/nix-build.nix index 97df52eaced2..ac51b90e0163 100644 --- a/nixpkgs/pkgs/build-support/release/nix-build.nix +++ b/nixpkgs/pkgs/build-support/release/nix-build.nix @@ -83,9 +83,9 @@ stdenv.mkDerivation ( ''; } - // args // + // removeAttrs args [ "lib" ] # Propagating lib causes the evaluation to fail, because lib is a function that can't be converted to a string - { + // { name = name + (if src ? version then "-" + src.version else ""); postHook = '' |