Skip to content

Instantly share code, notes, and snippets.

@Synthetica9
Created October 29, 2018 15:40
Show Gist options
  • Save Synthetica9/5c801ca150ae6b00578803d744944082 to your computer and use it in GitHub Desktop.
Save Synthetica9/5c801ca150ae6b00578803d744944082 to your computer and use it in GitHub Desktop.
let
nixpkgsRemote = remote: rev: import (builtins.fetchTarball "https://github.com/${remote}/Nixpkgs/archive/${rev}.tar.gz") {
config = config.nixpkgs.config;
};
remotes = lib.mapAttrs (_: nixpkgsRemote) {
upstream = "nixos";
devel = "synthetica9";
};
master = builtins.trace
"Warning: master is impure. Using this might have unexpected consequences!"
(remotes.upstream "master");
haskell-fix = remotes.upstream "69fa2d6bfba";
qt510 = remotes.upstream "4b649a99d84";
steamFix = remotes.devel "steam-update";
in
# the rest of my config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment