diff --git a/pkgs/tools/nix/nixos-option/.envrc b/pkgs/tools/nix/nixos-option/.envrc new file mode 100644 index 000000000000..1d953f4bd735 --- /dev/null +++ b/pkgs/tools/nix/nixos-option/.envrc @@ -0,0 +1 @@ +use nix diff --git a/pkgs/tools/nix/nixos-option/shell.nix b/pkgs/tools/nix/nixos-option/shell.nix new file mode 100644 index 000000000000..c779679a9b7c --- /dev/null +++ b/pkgs/tools/nix/nixos-option/shell.nix @@ -0,0 +1,7 @@ +with import ../../../.. { }; +nixos-option.overrideAttrs (old: { + nativeBuildInputs = old.nativeBuildInputs ++ [ + # hiprio so that it has a higher priority than the default unwrapped clang tools from clang if our stdenv is based on clang + (lib.hiPrio pkgs.buildPackages.clang-tools) + ]; +})