diff --git a/devenv.nix b/devenv.nix index 7d7a666..f37d3be 100644 --- a/devenv.nix +++ b/devenv.nix @@ -19,6 +19,10 @@ build.exec = '' nixos-rebuild switch --sudo --flake '.#' $@ ''; + # + nix-build.exec = '' + NIXPKGS_ALLOW_UNFREE=1 nix build $1 -L --no-link --impure + ''; }; # https://devenv.sh/basics/