Skip to content

Commit

Permalink
Merge branch 'da-add-overlays' into da-add-hostname-management
Browse files Browse the repository at this point in the history
  • Loading branch information
David Arnold committed Oct 9, 2020
2 parents 1eb7c1a + 92cd0e3 commit 972da7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 2 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{ nixpkgs ? import ./nix/nixpkgs.nix
, system ? builtins.currentSystem
, overlays ? [ ]
}:
import nixpkgs {
inherit system;
overlays = [
(import ./overlay.nix)
(import ./extensions/overlay.nix)
];
overlays = [ (import ./overlay.nix) ] ++ overlays;
}
5 changes: 4 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env nix-build
# Used to test the shell
{ pkgs ? import ./. { } }:
{ pkgs ? import ./. {
overlays = [ (import ./extensions/overlay.nix) ];
}
}:
pkgs.mkDevShell {
imports = [
(pkgs.mkDevShell.importTOML ./devshell.toml)
Expand Down

0 comments on commit 972da7b

Please sign in to comment.