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
1 changed files with 2 additions and 2 deletions

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 = ''