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,7 +16,7 @@ buildGoPackage rec {
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
goDeps = ./deps.json;
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e "s|expand('<sfile>:h:h').'/bin/fzf'|'$bin/bin/fzf'|" plugin/fzf.vim
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
[
|
||||
{
|
||||
"goPackagePath": "github.com/junegunn/go-runewidth",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/junegunn/go-runewidth",
|
||||
"rev": "63c378b851290989b19ca955468386485f118c65",
|
||||
"sha256": "1z5mhfrpqdssn3603vwd95w69z28igwq96lh7b9rrdcx440i822d"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/junegunn/go-shellwords",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/junegunn/go-shellwords",
|
||||
"rev": "35d512af75e283aae4ca1fc3d44b159ed66189a4",
|
||||
"sha256": "08la0axabk9hiba9mm4ypp6a116qhvdlxa1jvkxhv3d4zpjsp4n7"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/junegunn/go-runewidth";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/junegunn/go-runewidth";
|
||||
rev = "63c378b851290989b19ca955468386485f118c65";
|
||||
sha256 = "1z5mhfrpqdssn3603vwd95w69z28igwq96lh7b9rrdcx440i822d";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/junegunn/go-shellwords";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/junegunn/go-shellwords";
|
||||
rev = "35d512af75e283aae4ca1fc3d44b159ed66189a4";
|
||||
sha256 = "08la0axabk9hiba9mm4ypp6a116qhvdlxa1jvkxhv3d4zpjsp4n7";
|
||||
};
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user