1 { stdenv, lib, coreutils, findutils, gnugrep, darwin, bash
2 # Avoid having GHC in the build-time closure of all NixOS configurations
3 , doCheck ? false, shellcheck
10 path = lib.makeBinPath ([
11 coreutils findutils gnugrep
12 ] ++ (lib.optionals stdenv.hostPlatform.isDarwin [ darwin.DarwinTools ]));
13 is_darwin = if stdenv.hostPlatform.isDarwin then "yes" else "no";
15 sandboxtest = ./sandbox.nix;
16 relaxedsandboxtest = ./relaxedsandbox.nix;
17 multiusertest = ./multiuser.nix;
21 cp $src ./nix-info/nix-info
25 substituteAllInPlace ./nix-info
30 nativeCheckInputs = [ shellcheck ];
31 buildInputs = [ bash ];
39 cp ./nix-info $out/bin/nix-info
42 preferLocalBuild = true;
45 platforms = lib.platforms.all;