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
@@ -16,5 +16,5 @@ buildGoPackage rec {
|
||||
sha256 = "1jcqp9n8fd9psfsnhfj6w97yp0zmyxplsig8pyp2gqzh4lnb5fqm";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
goDeps = ./deps.nix;
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
[
|
||||
{
|
||||
"goPackagePath": "github.com/hanwen/go-fuse",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hanwen/go-fuse",
|
||||
"rev": "bd746dd8bcc8c059a9d953a786a6156eb83f398e",
|
||||
"sha256": "1dvvclp418j3d02v9717sfqhl6fw6yyddr9r3j8gsiv8nb62ib56"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/hanwen/usb",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hanwen/usb",
|
||||
"rev": "69aee4530ac705cec7c5344418d982aaf15cf0b1",
|
||||
"sha256": "01k0c2g395j65vm1w37mmrfkg6nm900khjrrizzpmx8f8yf20dky"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/hanwen/go-fuse";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hanwen/go-fuse";
|
||||
rev = "bd746dd8bcc8c059a9d953a786a6156eb83f398e";
|
||||
sha256 = "1dvvclp418j3d02v9717sfqhl6fw6yyddr9r3j8gsiv8nb62ib56";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hanwen/usb";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hanwen/usb";
|
||||
rev = "69aee4530ac705cec7c5344418d982aaf15cf0b1";
|
||||
sha256 = "01k0c2g395j65vm1w37mmrfkg6nm900khjrrizzpmx8f8yf20dky";
|
||||
};
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user