release.nix: Use $sourceRoot instead of hardcoded source directory

This commit is contained in:
Bogdan Seniuc 2018-04-07 10:15:41 +03:00
parent e10a7ec7eb
commit b828051659
No known key found for this signature in database
GPG key ID: 5A678521E4CD3AB2

View file

@ -28,8 +28,8 @@ let
configureFlags = "--enable-gc";
postUnpack = ''
(cd source && find . -type f) | cut -c3- > source/.dist-files
cat source/.dist-files
(cd $sourceRoot && find . -type f) | cut -c3- > $sourceRoot/.dist-files
cat $sourceRoot/.dist-files
'';
preConfigure = ''