treewide: use appendToName where appropriate

Using appendToName preserves the version at the end of the name.
This commit is contained in:
Matthew Bauer
2018-05-25 04:21:47 -05:00
parent 73b11060fc
commit a0f4d19925
3 changed files with 9 additions and 9 deletions

View File

@@ -4,9 +4,9 @@
let paths = stdenv.lib.closePropagation packages;
in
symlinkJoin {
stdenv.lib.appendToName "with-packages" (symlinkJoin {
name = idris.name + "-with-packages";
inherit (idris) name;
paths = paths ++ [idris] ;
@@ -17,4 +17,4 @@ symlinkJoin {
--set IDRIS_LIBRARY_PATH $out/libs
'';
}
})