about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorBogdan Seniuc <bogdan@bogdan.site>2018-04-07T07·15+0300
committerBogdan Seniuc <bogdan@bogdan.site>2018-04-07T07·15+0300
commitb828051659cf7cac21577982afd3f9314dc2e68c (patch)
tree15ad6ac41c9518abb4a5163cbe2e5918dc6f0c09 /release.nix
parente10a7ec7eb6d0afd25b8d66891a19a0a0da3a4ad (diff)
release.nix: Use $sourceRoot instead of hardcoded source directory
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/release.nix b/release.nix
index 492065df9858..b62ca93a3e31 100644
--- a/release.nix
+++ b/release.nix
@@ -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 = ''