* Get rid of the `(import (__toPath ((toString
./JustNothing/.. )+"/"+args.version+".nix")))' hack, you can also just
write `import (./path/to/pkg + "/${version}.nix)'.
svn path=/nixpkgs/trunk/; revision=9792
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
let
|
||||
realPath=y: (__toPath ((toString ./JustNothing/.. )+"/"+y.version+".nix"));
|
||||
dispatch=(x: ((import (realPath x)) x));
|
||||
in
|
||||
args :
|
||||
with args;
|
||||
with builderDefs {src="";} null;
|
||||
let eater=(lib.sumArgs dispatch args); in
|
||||
eater
|
||||
@@ -1,2 +0,0 @@
|
||||
args :
|
||||
(import (__toPath ((toString ./JustNothing/.. )+"/"+args.version+".nix"))) args
|
||||
Reference in New Issue
Block a user