forked from mirrors/gomod2nix
requires a newer Apple SDK on macOS
This commit is contained in:
parent
40d32f82fc
commit
598c5ab1a6
3 changed files with 7 additions and 7 deletions
|
@ -2,16 +2,16 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1653581809,
|
"lastModified": 1658285632,
|
||||||
"narHash": "sha256-Uvka0V5MTGbeOfWte25+tfRL3moECDh1VwokWSZUdoY=",
|
"narHash": "sha256-zRS5S/hoeDGUbO+L95wXG9vJNwsSYcl93XiD0HQBXLk=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "83658b28fe638a170a19b8933aa008b30640fbd1",
|
"rev": "5342fc6fb59d0595d26883c3cadff16ce58e44f3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-unstable",
|
"ref": "master",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
description = "Convert go.mod/go.sum to Nix packages";
|
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";
|
inputs.utils.url = "github:numtide/flake-utils";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
final: prev: {
|
final: prev: {
|
||||||
inherit (final.callPackage ./builder { }) buildGoApplication mkGoEnv;
|
inherit (final.darwin.apple_sdk_11_0.callPackage ./builder { }) buildGoApplication mkGoEnv;
|
||||||
gomod2nix = final.callPackage ./default.nix { };
|
gomod2nix = final.darwin.apple_sdk_11_0.callPackage ./default.nix { };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue