Skip to content

Instantly share code, notes, and snippets.

@gilligan
Last active January 13, 2018 17:14
Show Gist options
  • Save gilligan/9bcfa57ea2c2d3efdef62f6dbd4fe859 to your computer and use it in GitHub Desktop.
Save gilligan/9bcfa57ea2c2d3efdef62f6dbd4fe859 to your computer and use it in GitHub Desktop.
let
inherit (pkgs.haskell.lib) buildStrictly justStaticExecutables overrideCabal;
in
rec {
foo = buildStrictly (justStaticExecutables (cabal2nix "foo" ./. {}));
shell = foo.env;
# shellWithAdditionalBuildInputs = ???
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment