git.iko.soy/typeable/cabal2nix
on master help sign in
hackage2nix: remove obsolete kludge that existed only for cuda
3f2184aPeter Simons
src/hackage2nix.hs−1
@@ -136,7 +136,6 @@ generatePackageSet hackage nixpkgs = do
136
136
137isKnownNixpkgAttribute :: Nixpkgs -> Hackage -> String -> Bool
137isKnownNixpkgAttribute :: Nixpkgs -> Hackage -> String -> Bool
138isKnownNixpkgAttribute nixpkgs hackage name
138isKnownNixpkgAttribute nixpkgs hackage name
139− | '.' `elem` name = True -- TODO: remove this crap once the cuda expression has a proper post-process hook.
140 | Just _ <- Map.lookup name hackage = True
139 | Just _ <- Map.lookup name hackage = True
141 | otherwise = maybe False goodScope (Map.lookup name nixpkgs)
140 | otherwise = maybe False goodScope (Map.lookup name nixpkgs)
142 where
141 where