-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
33 lines (30 loc) · 740 Bytes
/
default.nix
File metadata and controls
33 lines (30 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
inputs,
system,
...
}:
{
additions =
final: _prev:
import ../pkgs {
inherit inputs;
pkgs = final;
};
# The unstable nixpkgs set (declared in the flake inputs) will
# be accessible through `pkgs.unstable`
unstable-packages = final: prev: {
unstable = import inputs.nixpkgs-unstable {
inherit (final) system;
config.allowUnfree = true;
overlays = [
# overlays of unstable packages are declared here
];
};
};
# Your own overlays for stable nixpkgs should be declared here
nixpkgs-overlays = final: prev: {
talhelper = inputs.talhelper.packages.${system}.default;
};
# Overlays from inputs
rust-overlay = inputs.rust-overlay.overlays.default;
}