git.iko.soy/typeable/cabal2nix
on master help sign in
Cosmetic.
commita9756a33236279eb916ebc00ae1398dbd2598cdd authorPeter Simons <simons@cryp.to> dateTue 25 Nov 2014, 13:33 (12 years ago) parent7731d3b
2 files changed+2−1
src/Cabal2Nix/Package.hs+1 src/Distribution/NixOS/Fetch.hs+1−1
src/Cabal2Nix/Package.hs+1
@@ -26,6 +26,7 @@ data Package = Package
2626 { source :: DerivationSource
2727 , cabal :: Cabal.GenericPackageDescription
2828 }
29+ deriving (Show)
2930
3031getPackage :: Maybe String -> Source -> IO Package
3132getPackage optHackageDB source = do
src/Distribution/NixOS/Fetch.hs+1−1
@@ -23,7 +23,7 @@ import System.Process
2323data Source = Source
2424 { sourceUrl :: String -- ^ URL to fetch from.
2525 , sourceRevision :: String -- ^ Revision to use. For protocols where this doesn't make sense (such as HTTP), this
26− -- should be the empty string.
26+ -- should be the empty string.
2727 , sourceHash :: Maybe String -- ^ The expected hash of the source, if available.
2828 } deriving (Show, Eq, Ord)
2929