release.nix: Use $sourceRoot instead of hardcoded source directory
This commit is contained in:
parent
e10a7ec7eb
commit
b828051659
|
@ -28,8 +28,8 @@ let
|
||||||
configureFlags = "--enable-gc";
|
configureFlags = "--enable-gc";
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
(cd source && find . -type f) | cut -c3- > source/.dist-files
|
(cd $sourceRoot && find . -type f) | cut -c3- > $sourceRoot/.dist-files
|
||||||
cat source/.dist-files
|
cat $sourceRoot/.dist-files
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
Loading…
Reference in a new issue