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,7 +13,7 @@ buildGoPackage rec {
|
||||
sha256 = "1iqdagrq0j7sqxgsj31skgk73k2rbpbvj41v087af9103wf8h9z7";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
buildInputs = [ xorg.libX11 xorg.libXrandr ];
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
[
|
||||
{
|
||||
"goPackagePath": "github.com/cpucycle/astrotime",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cpucycle/astrotime",
|
||||
"rev": "9c7d514efdb561775030eaf8f1a9ae6bddb3a2ca",
|
||||
"sha256": "024sc7g55v4s54irssm5wsn74sr2k2ynsm6z16w47q66cxhgvby1"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/cpucycle/astrotime";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/cpucycle/astrotime";
|
||||
rev = "9c7d514efdb561775030eaf8f1a9ae6bddb3a2ca";
|
||||
sha256 = "024sc7g55v4s54irssm5wsn74sr2k2ynsm6z16w47q66cxhgvby1";
|
||||
};
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user