From 9c200836808ccaed34b2e7dd506465c636bc91a0 Mon Sep 17 00:00:00 2001 From: Michael Raitza Date: Wed, 17 Feb 2021 18:41:56 +0100 Subject: [PATCH] cleanup lib --- lib.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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