arion/nix/default.nix

18 lines
365 B
Nix
Raw Normal View History

2019-10-04 16:37:39 +02:00
{ sources ? import ./sources.nix
2019-10-24 19:36:58 +02:00
, nixpkgsName ? "nixos-19.09"
, nixpkgsSrc ? sources.${nixpkgsName}
2019-10-04 17:16:41 +02:00
, system ? builtins.currentSystem
2019-06-15 14:32:59 +02:00
, ...
}:
2019-10-04 16:37:39 +02:00
import nixpkgsSrc ({
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
config = {
};
overlays = [
# all the packages are defined there:
(import ./overlay.nix)
];
2019-06-15 14:32:59 +02:00
inherit system;
2019-10-04 17:16:41 +02:00
})