Skip to content

Commit f9200ac

Browse files
authored
Merge branch 'main' into dependabot/go_modules/go_modules-04410ef4b4
2 parents 14c692b + f4dd12e commit f9200ac

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,9 @@
1616
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
1717

1818
# Nixpkgs instantiated for supported system types.
19-
nixpkgsFor = forAllSystems (system: import (builtins.fetchGit {
20-
# https://lazamar.co.uk/nix-versions/?package=go&channel=nixpkgs-unstable
21-
# https://lazamar.co.uk/nix-versions/?package=go&version=1.24rc2&fullName=go-1.24rc2&keyName=go_1_24&revision=21808d22b1cda1898b71cf1a1beb524a97add2c4&channel=nixpkgs-unstable
22-
name = "1.24.0";
23-
url = "https://github.com/NixOS/nixpkgs.git";
24-
ref = "refs/heads/nixos-unstable";
25-
# take latest commit sha from https://github.com/NixOS/nixpkgs/commits/nixos-unstable/
26-
rev = "73cf49b8ad837ade2de76f87eb53fc85ed5d4680";
27-
}) { inherit system; });
19+
nixpkgsFor = forAllSystems (system: import nixpkgs {
20+
inherit system;
21+
});
2822

2923
in
3024
{
@@ -54,7 +48,9 @@
5448
# "-X ocm.software/ocm/api/version.buildDate=1970-01-01T0:00:00+0000"
5549
];
5650

57-
CGO_ENABLED = 0;
51+
env = {
52+
CGO_ENABLED = "0";
53+
};
5854

5955
subPackages = [
6056
"cmds/ocm"

0 commit comments

Comments
 (0)