forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

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
···
},
"nixpkgs": {
"locked": {
-
"lastModified": 1740938536,
-
"narHash": "sha256-m6Lz7cRoZ8GS7tziYrNWv0WXTYtKx3oOC9Bwa6a13EA=",
+
"lastModified": 1742268799,
+
"narHash": "sha256-IhnK4LhkBlf14/F8THvUy3xi/TxSQkp9hikfDZRD4Ic=",
"owner": "nixos",
"repo": "nixpkgs",
-
"rev": "2ffed2bc3d27861b821f9bec127cf51a4dbfabb4",
+
"rev": "da044451c6a70518db5b730fe277b70f494188f1",
"type": "github"
},
"original": {
"owner": "nixos",
+
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
+5 -5
flake.nix
···
description = "atproto github";
inputs = {
-
nixpkgs.url = "github:nixos/nixpkgs";
+
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
indigo = {
url = "github:oppiliappan/indigo";
flake = false;
···
src = gitignoreSource ./.;
subPackages = ["cmd/${name}"];
vendorHash = goModHash;
-
env.CGO_ENABLED = 0;
+
CGO_ENABLED = 0;
};
in {
indigo-lexgen = final.buildGoModule {
···
doCheck = false;
subPackages = ["cmd/appview"];
vendorHash = goModHash;
-
env.CGO_ENABLED = 1;
+
CGO_ENABLED = 1;
stdenv = pkgsStatic.stdenv;
};
···
runHook postInstall
'';
-
env.CGO_ENABLED = 1;
+
CGO_ENABLED = 1;
};
knotserver-unwrapped = final.pkgsStatic.buildGoModule {
pname = "knotserver";
···
src = gitignoreSource ./.;
subPackages = ["cmd/knotserver"];
vendorHash = goModHash;
-
env.CGO_ENABLED = 1;
+
CGO_ENABLED = 1;
};
repoguard = buildCmdPackage "repoguard";
keyfetch = buildCmdPackage "keyfetch";