requires a newer Apple SDK on macOS

This commit is contained in:
HuangYi 2022-07-20 11:42:46 +08:00
parent 40d32f82fc
commit 598c5ab1a6
No known key found for this signature in database
GPG key ID: 58776091521E8B17
3 changed files with 7 additions and 7 deletions

View file

@ -2,16 +2,16 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1653581809,
"narHash": "sha256-Uvka0V5MTGbeOfWte25+tfRL3moECDh1VwokWSZUdoY=",
"lastModified": 1658285632,
"narHash": "sha256-zRS5S/hoeDGUbO+L95wXG9vJNwsSYcl93XiD0HQBXLk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "83658b28fe638a170a19b8933aa008b30640fbd1",
"rev": "5342fc6fb59d0595d26883c3cadff16ce58e44f3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -1,7 +1,7 @@
{
description = "Convert go.mod/go.sum to Nix packages";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/master";
inputs.utils.url = "github:numtide/flake-utils";

View file

@ -1,4 +1,4 @@
final: prev: {
inherit (final.callPackage ./builder { }) buildGoApplication mkGoEnv;
gomod2nix = final.callPackage ./default.nix { };
inherit (final.darwin.apple_sdk_11_0.callPackage ./builder { }) buildGoApplication mkGoEnv;
gomod2nix = final.darwin.apple_sdk_11_0.callPackage ./default.nix { };
}