leave this comments in case I run into unexpected nix-shell outputs

This commit is contained in:
Daylin Morgan 2024-08-06 11:41:39 -05:00
parent cb31371784
commit df4da6b3f9
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -29,9 +29,14 @@ in
# use the same nixpkgs for nix run "nixpkgs#hello" style commands # use the same nixpkgs for nix run "nixpkgs#hello" style commands
registry.nixpkgs.flake = inputs.nixpkgs; registry.nixpkgs.flake = inputs.nixpkgs;
}; };
# https://dataswamp.org/~solene/2022-07-20-nixos-flakes-command-sync-with-system.html#_nix-shell_vs_nix_shell
# use the same nixpkgs for nix-shell -p hello style commands
# I don't know that this is necesary...
# nix.nixPath = [ "nixpkgs=/etc/channels/nixpkgs" ];
# environment.etc."channels/nixpkgs".source = inputs.nixpkgs.outPath;
environment.systemPackages = [ environment.systemPackages = [
pkgs.nixd pkgs.nixd
pkgs.nixfmt-rfc-style pkgs.nixfmt-rfc-style