3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/release
Sander van der Burg 44704440ef releaseTools: fix nixBuild function
Without this fix, I can no longer build anything with releaseTools.nixBuild {}. A job typically fails with:

$ nix-build release.nix -A build.basic.x86_64-linux --show-trace
error: while evaluating the attribute 'lib' of the derivation 'libnixxml-0.1pre1234' at /home/sander/teststuff/nixpkgs/pkgs/build-support/release/nix-build.nix:89:5:
cannot coerce a set to a string, at /home/sander/teststuff/nixpkgs/pkgs/build-support/release/nix-build.nix:89:5

This is caused by the fact that `lib' is propagated as a parameter, which is a function. Functions cannot be converted to strings.
2021-03-29 21:24:00 +02:00
..
ant-build.nix treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
binary-tarball.nix releaseTools: no-op expression cleanup 2020-03-21 21:15:33 -04:00
debian-build.nix Merge pull request #112073 from ztzg/x-16304-debbuild-checkinstall 2021-03-21 05:35:45 +01:00
default.nix pkgs/build-support: stdenv.lib -> lib 2021-01-24 19:07:54 -08:00
functions.sh stdenv/build-support: support .tbz and .txz tarballs 2018-07-30 15:30:16 -04:00
maven-build.nix releaseTools: no-op expression cleanup 2020-03-21 21:15:33 -04:00
nix-build.nix releaseTools: fix nixBuild function 2021-03-29 21:24:00 +02:00
rpm-build.nix releaseTools: no-op expression cleanup 2020-03-21 21:15:33 -04:00
source-tarball.nix schedulingPriority should be an int, fix check-meta type and in-tree use 2018-01-09 07:25:24 -06:00