-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
24 lines (24 loc) · 708 Bytes
/
flake.nix
File metadata and controls
24 lines (24 loc) · 708 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
{
description = "migratassert (0.1.0)";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs @ {self, systems, nixpkgs, flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = import inputs.systems;
perSystem = {pkgs, lib, config, system, ...}: {
_module.args.pkgs = import nixpkgs {
inherit system;
overlays = [self.overlays.default];
};
imports = [
./nix/shell.nix
];
};
flake = {
overlays.default = import ./nix/overlay.nix;
};
};
}