nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 mkMesonLibrary,
4
5 nix-util,
6 nix-store,
7 nix-fetchers,
8 nix-expr,
9 nlohmann_json,
10
11 # Configuration Options
12
13 version,
14}:
15
16mkMesonLibrary (finalAttrs: {
17 pname = "nix-flake";
18 inherit version;
19
20 workDir = ./.;
21
22 propagatedBuildInputs = [
23 nix-store
24 nix-util
25 nix-fetchers
26 nix-expr
27 nlohmann_json
28 ];
29
30 meta = {
31 platforms = lib.platforms.unix ++ lib.platforms.windows;
32 };
33
34})