Created
August 19, 2019 11:04
-
-
Save freeman42x/a8c1ca73682c19330f80a001d343e52c to your computer and use it in GitHub Desktop.
how to add unstable correctly to config.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
allowUnfree = true; | |
packageOverrides = pkgs_: { | |
unstable = import <nixpkgs-unstable> { | |
# pass the nixpkgs config to the unstable alias | |
# to ensure `allowUnfree = true;` is propagated: | |
config = config.nixpkgs.config; | |
}; | |
let jdk = openjdk11; in { | |
all = with pkgs; buildEnv { | |
name = "all"; | |
paths = [ | |
htop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment