From fac05df7ac7cd42aabc7b7995ab102a8d42a86c4 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Fri, 31 Oct 2025 15:26:08 +0100 Subject: [PATCH] chore(template): Update nixpkgs --- template/default.nix | 4 ++-- template/nix/sources.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/template/default.nix b/template/default.nix index 071adcb2..e467de8e 100644 --- a/template/default.nix +++ b/template/default.nix @@ -5,7 +5,7 @@ # on Darwin (macOS), but doesn't seem to actually be necessary beyond # production hardening. fakeroot = - if self.buildPlatform.isDarwin then + if self.stdenv.buildPlatform.isDarwin then self.writeScriptBin "fakeroot" ''exec "$@"'' else super.fakeroot; @@ -14,7 +14,7 @@ # (non-Nix build tools like Tilt, as well as the container composition scripts) , pkgsLocal ? import nixpkgs { inherit overlays; } # Default to building for the local CPU architecture -, targetArch ? pkgsLocal.hostPlatform.linuxArch +, targetArch ? pkgsLocal.stdenv.hostPlatform.linuxArch , targetSystem ? "${targetArch}-unknown-linux-gnu" , pkgsTarget ? import nixpkgs { inherit overlays; diff --git a/template/nix/sources.json b/template/nix/sources.json index 1b5af204..f79c2cf0 100644 --- a/template/nix/sources.json +++ b/template/nix/sources.json @@ -29,10 +29,10 @@ "homepage": "", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9b008d60392981ad674e04016d25619281550a9d", - "sha256": "1pxnwzrwcgasascapd6f0l8ricv6dgads3rgz2m45hyny80720cs", + "rev": "a7fc11be66bdfb5cdde611ee5ce381c183da8386", + "sha256": "0h3gvjbrlkvxhbxpy01n603ixv0pjy19n9kf73rdkchdvqcn70j2", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/9b008d60392981ad674e04016d25619281550a9d.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/a7fc11be66bdfb5cdde611ee5ce381c183da8386.tar.gz", "url_template": "https://github.com///archive/.tar.gz" } }