Skip to content

Commit

Permalink
Create an overlay for Delft
Browse files Browse the repository at this point in the history
Instead of depending on local patches to nixpkgs.
  • Loading branch information
grahamc authored and edolstra committed Nov 28, 2018
1 parent 2c9de8b commit 2ca0052
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions delft/network.nix
@@ -1,4 +1,8 @@
{
defaults = { pkgs, ... }: {
nixpkgs.overlays = [ (import ./overlay.nix) ];
};

hydra = { deployment.targetHost = "hydra.ewi.tudelft.nl"; imports = [ ./build-machines-dell-1950.nix ]; };
lucifer = { deployment.targetHost = "lucifer.ewi.tudelft.nl"; imports = [ ./lucifer.nix ]; };
wendy = { deployment.targetHost = "wendy.ewi.tudelft.nl"; imports = [ ./wendy.nix ]; };
Expand Down
12 changes: 12 additions & 0 deletions delft/overlay.nix
@@ -0,0 +1,12 @@
self: super:
{
nixUnstable = super.nixUnstable.overrideAttrs (oldatrs: {
name = "nix-2.2pre6526_9f99d624";
src = self.fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "9f99d62480cf7c58c0a110b180f2096b7d25adab";
sha256 = "0fkmx7gmgg0yij9kw52fkyvib88hj1jsj90vbpy13ccfwknh1044";
};
});
}

0 comments on commit 2ca0052

Please sign in to comment.