diff --git a/lib.nix b/lib.nix index c21f28b..6ac2697 100644 --- a/lib.nix +++ b/lib.nix @@ -27,9 +27,6 @@ let pths = crossLists (p: pat: p + pat) [ foldedpaths patlist ]; in [ doFile ] ++ pths; - cwd = "/home/spacefrogg/tmp"; - path = cwd + "/foo/bar/baz.def.c"; - whichdo = path: let pathlist = searchPath path; in foldl (res: p: if res == "" then if pathExists p then p else res else res) "" pathlist; @@ -46,7 +43,7 @@ let in if _out == "" then _path else _out; self = { - inherit searchPath cwd path doFileSuffix whichdo d1 d2; + inherit searchPath doFileSuffix whichdo d1 d2; }; in self