use tarball for nixpkgs
2 files changed, 21 insertions(+), 24 deletions(-)
changed files
M flake.lock → flake.lock
@@ -5,54 +5,51 @@ "inputs": { "systems": "systems" }, "locked": { + "type": "github", "lastModified": 1731533236, "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b" }, "original": { + "type": "github", "owner": "numtide", - "repo": "flake-utils", - "type": "github" + "repo": "flake-utils" } }, "gomod2nix": { "inputs": { - "flake-utils": "flake-utils", "nixpkgs": [ "nixpkgs" - ] + ], + "flake-utils": "flake-utils" }, "locked": { + "type": "github", "lastModified": 1759991118, "narHash": "sha256-pDyrtUQyeP1lVTMIYqJtftzDtsXEZaJjYy9ZQ/SGhL8=", "owner": "nix-community", "repo": "gomod2nix", - "rev": "7f8d7438f5870eb167abaf2c39eea3d2302019d1", - "type": "github" + "rev": "7f8d7438f5870eb167abaf2c39eea3d2302019d1" }, "original": { + "type": "github", "owner": "nix-community", - "repo": "gomod2nix", - "type": "github" + "repo": "gomod2nix" } }, "nixpkgs": { "locked": { + "type": "tarball", "lastModified": 1762943920, - "narHash": "sha256-ITeH8GBpQTw9457ICZBddQEBjlXMmilML067q0e6vqY=", - "owner": "NixOS", - "repo": "nixpkgs", + "narHash": "sha256-ZpXmozTPldgyUyjILammopnda1An2w/66vKrU+1v1Ew=", "rev": "91c9a64ce2a84e648d0cf9671274bb9c2fb9ba60", - "type": "github" + "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre893393.91c9a64ce2a8/nixexprs.tar.xz" }, "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.zst" } }, "root": {@@ -63,20 +60,20 @@ } }, "systems": { "locked": { + "type": "github", "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "owner": "nix-systems", "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e" }, "original": { + "type": "github", "owner": "nix-systems", - "repo": "default", - "type": "github" + "repo": "default" } } }, "root": "root", "version": 7 -} +}
M flake.nix → flake.nix
@@ -1,7 +1,7 @@ { description = "A basic gomod2nix flake"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + inputs.nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.zst"; inputs.gomod2nix.url = "github:nix-community/gomod2nix"; inputs.gomod2nix.inputs.nixpkgs.follows = "nixpkgs";