Skip to content

Instantly share code, notes, and snippets.

@joepie91
Last active October 12, 2018 16:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joepie91/fdebf0bbc1cfc26fe90807029c92a608 to your computer and use it in GitHub Desktop.
Save joepie91/fdebf0bbc1cfc26fe90807029c92a608 to your computer and use it in GitHub Desktop.
Mozilla Rust overlay in environment.systemPackages
options: let
combinedOptions = options // {
overlays = [
(import ../nixpkgs-mozilla/rust-overlay.nix)
];
};
in {
master = (import (fetchTarball https://github.com/NixOS/nixpkgs/archive/master.tar.gz) combinedOptions);
unstable = (import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) combinedOptions);
nixpkgs = (import <nixpkgs>) combinedOptions;
myNixpkgs = (import ../../my-nixpkgs) {};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment