Commit 05296be9 authored by Ben Gamari's avatar Ben Gamari 🐢

nix: Jailbreak packages

parent a02b73aa
......@@ -54,8 +54,8 @@ generateOverride prefix patchDir (patchExtless, patchTypes) = do
let pname = display (packageName pid)
version = versionNumbers (packageVersion pid)
return . (packageName pid,) . (version,) $
"dontRevise "
++ foldl' (override prefix patchDir patchExtless) ("super."++pname) patchTypes
"haskell.lib.doJailbreak (dontRevise "
++ foldl' (override prefix patchDir patchExtless) ("super."++pname) patchTypes ++ ")"
patchFunction :: PatchType -> String
patchFunction = \case
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment