forked from Mic92/nixpkgs-review
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
24 lines (20 loc) · 763 Bytes
/
flake.nix
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 = "nixpkgs-review";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = { self, nixpkgs, flake-utils }:
nixpkgs.lib.foldr nixpkgs.lib.recursiveUpdate { } [
(flake-utils.lib.eachDefaultSystem (system: {
packages.nixpkgs-review = import ./. {
pkgs = nixpkgs.legacyPackages.${system};
};
defaultPackage = self.packages.${system}.nixpkgs-review;
}))
(flake-utils.lib.eachSystem [ "aarch64-linux" "i686-linux" "x86_64-linux" ] (system: {
packages.nixpkgs-review-sandbox = import ./. {
pkgs = nixpkgs.legacyPackages.${system};
withSandboxSupport = true;
};
}))
];
}