git.iko.soy/typeable/cabal2nix
on master help sign in
hackage4nix.hs: don't re-generate files with an 'editedCabalFile' attribute
commit7d207eaffb20091abadefbddbc7f8981e5133300 authorPeter Simons <simons@cryp.to> dateFri 12 Dec 2014, 10:05 (12 years ago) parented9bf92
1 file changed+1−1
src/hackage4nix.hs+1−1
src/hackage4nix.hs+1−1
@@ -72,7 +72,7 @@ discoverNixFiles yield dirOrFile = do
7272 (False,_) -> io (readDirectory dirOrFile) >>= mapM_ (discoverNixFiles yield . (dirOrFile </>))
7373
7474regenerateDerivation :: Derivation -> String -> Bool
75−regenerateDerivation _ buf = not (buf =~ "(pre|post)Configure|(pre|post)Install|patchPhase|patches|broken")
75+regenerateDerivation _ buf = not (buf =~ "(pre|post)Configure|(pre|post)Install|patchPhase|patches|broken|editedCabalFile")
7676
7777parseNixFile :: FilePath -> String -> Hackage4Nix (Maybe Pkg)
7878parseNixFile path buf