arion/nix/default.nix
Robert Hensing 90c2637947 Update
2020-09-05 23:00:30 +02:00

20 lines
435 B
Nix

{ sources ? import ./sources.nix
, nixpkgsName ? "nixos-unstable"
, nixpkgsSrc ? sources.${nixpkgsName}
, system ? builtins.currentSystem
, nixosTestIsPerl ? false
, ...
}:
import nixpkgsSrc ({
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
config = {
};
overlays = [
# all the packages are defined there:
(_: _: { inherit nixosTestIsPerl; })
(import ./overlay.nix)
];
inherit system;
})