diff options
| author | Kleidi Bujari <mail@4kb.net> | 2026-10-03 21:35:38 -0700 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2026-10-03 21:37:22 -0700 |
| commit | fd81b9bd38f3ce5fbaa75b402ea23f8587e399f1 (patch) | |
| tree | 049dedf0ae535e9bc86eef4bea101547762b88d0 /default.nix | |
| parent | 0d15a4d19f7925be328c2d24214a11e5ac541c40 (diff) | |
| download | depot-fd81b9bd38f3ce5fbaa75b402ea23f8587e399f1.tar.gz depot-fd81b9bd38f3ce5fbaa75b402ea23f8587e399f1.tar.bz2 depot-fd81b9bd38f3ce5fbaa75b402ea23f8587e399f1.zip | |
nixpkgs pin from channels rather than github
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/default.nix b/default.nix index dafe54f..235d4e5 100644 --- a/default.nix +++ b/default.nix @@ -1,11 +1,9 @@ let lock = builtins.readFile ./flake.lock |> builtins.fromJSON; - defaultNixpkgs = builtins.fetchGit { - url = "https://github.com/NixOS/nixpkgs"; - shallow = true; - inherit (lock.nodes.nixpkgs.locked) rev; - inherit (lock.nodes.nixpkgs.original) ref; + defaultNixpkgs = builtins.fetchTarball { + inherit (lock.nodes.nixpkgs.locked) url; + sha256 = lock.nodes.nixpkgs.locked.narHash; }; disko = builtins.fetchTarball { |
