release.nix: reduce rebuilds by not using 'ihaskell-src' for ghc-parser and ipython-kernel

This commit is contained in:
Vaibhav Sagar 2021-09-30 23:12:30 +10:00
parent 45816b9ed8
commit f842343aa1

View File

@ -25,8 +25,8 @@ let
export GHC_PACKAGE_PATH=$PWD/dist/package.conf.inplace/:$GHC_PACKAGE_PATH
'';
});
ghc-parser = self.callCabal2nix "ghc-parser" "${ihaskell-src}/ghc-parser" {};
ipython-kernel = self.callCabal2nix "ipython-kernel" "${ihaskell-src}/ipython-kernel" {};
ghc-parser = self.callCabal2nix "ghc-parser" ./ghc-parser {};
ipython-kernel = self.callCabal2nix "ipython-kernel" ./ipython-kernel {};
} // displays self);
});
# statically linking against haskell libs reduces closure size at the expense