forked from tangled.org/core
this repo has no description

Track Nixpkgs stable

The Nix build fails on Nixpkgs 24.11 due to CGO_ENABLED being renamed to env.CGO_ENABLED https://github.com/NixOS/nixpkgs/commit/3b1ec755ca88778d4b706b6dd52b57c0086b1548

This PR changed the Nix flake Nixpkgs input to 24.11 instead of the master branch, which makes it easier to deploy with systems tracking stable Nixpkgs.

Changed files
+9 -8
+4 -3
flake.lock
··· 79 79 }, 80 80 "nixpkgs": { 81 81 "locked": { 82 - "lastModified": 1740938536, 83 - "narHash": "sha256-m6Lz7cRoZ8GS7tziYrNWv0WXTYtKx3oOC9Bwa6a13EA=", 82 + "lastModified": 1742268799, 83 + "narHash": "sha256-IhnK4LhkBlf14/F8THvUy3xi/TxSQkp9hikfDZRD4Ic=", 84 84 "owner": "nixos", 85 85 "repo": "nixpkgs", 86 - "rev": "2ffed2bc3d27861b821f9bec127cf51a4dbfabb4", 86 + "rev": "da044451c6a70518db5b730fe277b70f494188f1", 87 87 "type": "github" 88 88 }, 89 89 "original": { 90 90 "owner": "nixos", 91 + "ref": "nixos-24.11", 91 92 "repo": "nixpkgs", 92 93 "type": "github" 93 94 }
+5 -5
flake.nix
··· 2 2 description = "atproto github"; 3 3 4 4 inputs = { 5 - nixpkgs.url = "github:nixos/nixpkgs"; 5 + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; 6 6 indigo = { 7 7 url = "github:oppiliappan/indigo"; 8 8 flake = false; ··· 52 52 src = gitignoreSource ./.; 53 53 subPackages = ["cmd/${name}"]; 54 54 vendorHash = goModHash; 55 - env.CGO_ENABLED = 0; 55 + CGO_ENABLED = 0; 56 56 }; 57 57 in { 58 58 indigo-lexgen = final.buildGoModule { ··· 82 82 doCheck = false; 83 83 subPackages = ["cmd/appview"]; 84 84 vendorHash = goModHash; 85 - env.CGO_ENABLED = 1; 85 + CGO_ENABLED = 1; 86 86 stdenv = pkgsStatic.stdenv; 87 87 }; 88 88 ··· 105 105 106 106 runHook postInstall 107 107 ''; 108 - env.CGO_ENABLED = 1; 108 + CGO_ENABLED = 1; 109 109 }; 110 110 knotserver-unwrapped = final.pkgsStatic.buildGoModule { 111 111 pname = "knotserver"; ··· 113 113 src = gitignoreSource ./.; 114 114 subPackages = ["cmd/knotserver"]; 115 115 vendorHash = goModHash; 116 - env.CGO_ENABLED = 1; 116 + CGO_ENABLED = 1; 117 117 }; 118 118 repoguard = buildCmdPackage "repoguard"; 119 119 keyfetch = buildCmdPackage "keyfetch";