Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 456 B view raw
1{ 2 lib, 3 mkMesonLibrary, 4 5 openssl, 6 7 nix-util, 8 nix-store, 9 nix-expr, 10 11 # Configuration Options 12 13 version, 14}: 15 16mkMesonLibrary (finalAttrs: { 17 pname = "nix-main"; 18 inherit version; 19 20 workDir = ./.; 21 22 propagatedBuildInputs = 23 lib.optionals (lib.versionAtLeast version "2.28") [ 24 nix-expr 25 ] 26 ++ [ 27 nix-util 28 nix-store 29 openssl 30 ]; 31 32 meta = { 33 platforms = lib.platforms.unix ++ lib.platforms.windows; 34 }; 35 36})