Skip to content

Commit

Permalink
Change example package in Nix shell templates
Browse files Browse the repository at this point in the history
git should be presumed to be installed due to how flakes work, so anything else
is a better default.
  • Loading branch information
samhh committed Dec 6, 2024
1 parent 0bcd083 commit 26b5d77
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion templates/devshell-flake-parts/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
perSystem =
{ pkgs, ... }:
{
devShells.default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ git ]; };
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
cowsay
];
};
};
};
}
6 changes: 5 additions & 1 deletion templates/devshell-flake-utils/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ git ]; };
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
cowsay
];
};
}
);
}

0 comments on commit 26b5d77

Please sign in to comment.