From 218e06a8a80fdf7f3744ec463a853e3e5eadf431 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 13 May 2025 01:54:42 +0000 Subject: [PATCH] nix-check-deps: ship it --- hosts/common/programs/assorted.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/common/programs/assorted.nix b/hosts/common/programs/assorted.nix index c3c3a0dcf..2a9fa9d9d 100644 --- a/hosts/common/programs/assorted.nix +++ b/hosts/common/programs/assorted.nix @@ -199,8 +199,9 @@ in "dasht" # docset documentation viewer # "gh" # MS GitHub cli "haredoc" + "nix-check-deps" # run `nix-check-deps packageName -f .` before submitting stuff upstream "nix-index" - "nixfmt-rfc-style" # run `nixpkgs path/to/package.nix` before submitting stuff upstream + "nixfmt-rfc-style" # run `nixfmt path/to/package.nix` before submitting stuff upstream "nixpkgs-hammering" "nixpkgs-review" "qmk-udev-rules" @@ -890,6 +891,12 @@ in nixd.sandbox.whitelistPwd = true; + nix-check-deps.sandbox.whitelistPwd = true; + nix-check-deps.sandbox.net = "all"; + nix-check-deps.sandbox.extraPaths = [ + "/nix/var" + ]; + nix-tree.sandbox.extraPaths = [ "/nix/var" ];