buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
This commit is contained in:
committed by
zimbatm
parent
7a6b860e1c
commit
914e0e594c
@@ -13,5 +13,5 @@ buildGoPackage rec {
|
||||
sha256 = "0ajidzs0aisbw74nri9ks6sx6644nmwkisc9mvxm3f89zmnlsgwr";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
goDeps = ./deps.nix;
|
||||
}
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
[
|
||||
{
|
||||
"goPackagePath": "golang.org/x/sys",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://go.googlesource.com/sys",
|
||||
"rev": "d9157a9621b69ad1d8d77a1933590c416593f24f",
|
||||
"sha256": "1asdbp7rj1j1m1aar1a022wpcwbml6zih6cpbxaw7b2m8v8is931"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/michaelmacinnis/adapted",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/michaelmacinnis/adapted",
|
||||
"rev": "0dd5fa34d6f9d74c7c0deed1fc224f9a87e02978",
|
||||
"sha256": "16n3a87m33pqx4qih713q3gw2j6ksj1q3ngjax6bpn5b11rqvikv"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/peterh/liner",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/peterh/liner",
|
||||
"rev": "ad1edfd30321d8f006ccf05f1e0524adeb943060",
|
||||
"sha256": "0c24d9j1gnq7r982h1l2isp3d37379qw155hr8ihx9i2mhpfz317"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "golang.org/x/sys";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sys";
|
||||
rev = "d9157a9621b69ad1d8d77a1933590c416593f24f";
|
||||
sha256 = "1asdbp7rj1j1m1aar1a022wpcwbml6zih6cpbxaw7b2m8v8is931";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/michaelmacinnis/adapted";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/michaelmacinnis/adapted";
|
||||
rev = "0dd5fa34d6f9d74c7c0deed1fc224f9a87e02978";
|
||||
sha256 = "16n3a87m33pqx4qih713q3gw2j6ksj1q3ngjax6bpn5b11rqvikv";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/peterh/liner";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/peterh/liner";
|
||||
rev = "ad1edfd30321d8f006ccf05f1e0524adeb943060";
|
||||
sha256 = "0c24d9j1gnq7r982h1l2isp3d37379qw155hr8ihx9i2mhpfz317";
|
||||
};
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user