Skip to content

Commit

Permalink
Fix separate output attr
Browse files Browse the repository at this point in the history
  • Loading branch information
4e6 committed Aug 21, 2017
1 parent b5c8918 commit c67c0d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Distribution/Nixpkgs/Haskell/FromStack.hs
Expand Up @@ -89,3 +89,5 @@ fromPackage conf pconf plan pkg =
& doCheck .~ testsEnabled
& runHaddock .~ haddocksEnabled
& metaSection . Nix.broken .~ brokenEnabled
-- TODO: remove after Nixos/Nixpkgs #27196 released
& enableSeparateDataOutput .~ False
6 changes: 5 additions & 1 deletion src/Distribution/Nixpkgs/Haskell/Stack.hs
Expand Up @@ -74,7 +74,11 @@ packageDerivation
-> IO Derivation
packageDerivation conf optHackageDb stackPackage = do
pkg <- getStackPackageFromDb optHackageDb stackPackage
let drv = genericPackageDerivation conf pkg & src .~ pkgSource pkg
let
drv = genericPackageDerivation conf pkg
& src .~ pkgSource pkg
-- TODO: remove after Nixos/Nixpkgs #27196 released
& enableSeparateDataOutput .~ False
return $ if stackPackage ^. spExtraDep
then drv
& doCheck &&~ conf ^. spcDoCheckStackage
Expand Down

0 comments on commit c67c0d8

Please sign in to comment.