Skip to content

Commit

Permalink
Don't specify nix in the nix package
Browse files Browse the repository at this point in the history
I can trust called place having correct nix version

It might rebuild different nix in macos CI. See GH-924
  • Loading branch information
kachick committed Nov 11, 2024
1 parent 57f772f commit c2b2df5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions pkgs/nix-hash-url/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
pkgs.writeShellApplication rec {
name = "nix-hash-url";
text = builtins.readFile ./${name}.bash;
runtimeInputs = with pkgs; [
nix # Includes nix-prefetch-url
];
# nix includes `nix-prefetch-url`
meta = {
# References
# - https://ryantm.github.io/nixpkgs/builders/fetchers/
Expand Down
1 change: 0 additions & 1 deletion pkgs/p/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ pkgs, ... }:
pkgs.writeShellApplication rec {
name = "p";
runtimeInputs = with pkgs; [ nix ];
text = builtins.readFile ./${name}.bash;
}

0 comments on commit c2b2df5

Please sign in to comment.