-
-
Save matthew-piziak/277837b90446bdb45aa1398a79c371f5 to your computer and use it in GitHub Desktop.
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
{ config, pkgs, ... }: | |
let | |
sourceUnstable = "https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"; | |
tarballUnstable = fetchTarball sourceUnstable; | |
source1903 = "https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz"; | |
tarball1903 = fetchTarball source1903; | |
in { | |
nixpkgs = { | |
config = { | |
allowUnfree = true; | |
packageOverrides = pkgs: { | |
unstable = import tarballUnstable { config = config.nixpkgs.config; }; | |
stable1903 = import tarball1903 { config = config.nixpkgs.config; }; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment