Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1dee6ca

Browse files
author
David Arnold
authoredOct 10, 2020
Provide means to add extra overlays to devhsell (#33)
* Provide means to add extra overlays to devhsell * fmt
1 parent 7f46271 commit 1dee6ca

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{ nixpkgs ? import ./nix/nixpkgs.nix
22
, system ? builtins.currentSystem
3+
, overlays ? [ ]
34
}:
45
import nixpkgs {
56
inherit system;
6-
overlays = [ (import ./overlay.nix) ];
7+
overlays = [ (import ./overlay.nix) ] ++ overlays;
78
}

‎mkDevShell/options.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ in
227227
];
228228

229229
packages =
230-
builtins.filter (x: x != null)
230+
builtins.filter
231+
(x: x != null)
231232
(map (x: x.package) config.commands);
232233
};
233234
}

0 commit comments

Comments
 (0)
Please sign in to comment.