git.iko.soy/typeable/stackage2nix
on master help sign in
removes use of <nixpkgs> inside of nix output

Because the <nixpkgs> import was in the middle of the source it was not possible to pin the version by passing it as an argument.

commit7d6dcefdda33b0b41e35a268964349ff01d3e243 authorzimbatm <zimbatm@zimbatm.com> dateSat 17 Mar 2018, 18:44 (9 years ago) parent71ee939
1 file changed+1−1
src/Distribution/Nixpkgs/Haskell/Stack/PrettyPrinting.hs+1−1
src/Distribution/Nixpkgs/Haskell/Stack/PrettyPrinting.hs+1−1
@@ -137,7 +137,7 @@ pPrintHaskellPackages oc = vcat
137137 , attr "compilerConfig" . importStackageConfig $ oc ^. ocStackageConfig
138138 , ""
139139 , attr "configurationCommon" "if builtins.pathExists ./configuration-common.nix then import ./configuration-common.nix { inherit pkgs haskellLib; } else self: super: {}"
140− , attr "configurationNix" "import <nixpkgs/pkgs/development/haskell-modules/configuration-nix.nix> { inherit pkgs haskellLib; }"
140+ , attr "configurationNix" "import (pkgs.path + \"/pkgs/development/haskell-modules/configuration-nix.nix\") { inherit pkgs haskellLib; }"
141141 , ""
142142 , attr "extensible-self" "makeExtensible (extends overrides (extends configurationCommon (extends packageSetConfig (extends compilerConfig (extends configurationNix haskellPackages)))))"
143143 ]