-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathflake.nix
More file actions
34 lines (32 loc) · 737 Bytes
/
Copy pathflake.nix
File metadata and controls
34 lines (32 loc) · 737 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
34
# SPDX-License-Identifier: Unlicense
{
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
# systems.url = "github:nix-systems/default";
};
outputs =
{ nixpkgs, ... }@inputs:
let
eachSystem =
f:
nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (
system: f system nixpkgs.legacyPackages.${system}
);
in
{
packages = eachSystem (
_system: pkgs: {
hello = pkgs.hello;
}
);
devShells = eachSystem (
_system: pkgs: {
default = pkgs.mkShell {
buildInputs = with pkgs; [
# Add development dependencies here
];
};
}
);
};
}