Skip to content

Instantly share code, notes, and snippets.

@freeman42x
Created August 19, 2019 11:13
Show Gist options
  • Save freeman42x/125e87ed14001b4d62d3bc67f5ad284c to your computer and use it in GitHub Desktop.
Save freeman42x/125e87ed14001b4d62d3bc67f5ad284c to your computer and use it in GitHub Desktop.
unstable usage
let config = { allowUnfree = true; packageOverrides = pkgs_: { unstable = import <nixpkgs-unstable> { inherit config; }; }; }; in
{
allowUnfree = true;
packageOverrides = pkgs_: with pkgs_;
let jdk = openjdk11; in {
all = with pkgs; buildEnv {
name = "all";
paths = [
htop
nox
nix-info
nix-index
haskell.compiler.ghc864
haskellPackages.cabal-install
unstable.haskellPackages.stack
haskellPackages.hoogle
haskellPackages.ghcid
unstable.haskellPackages.cabal2nix
];
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment