summaryrefslogtreecommitdiffstats
path: root/pkgs/shells
diff options
context:
space:
mode:
authorlegendofmiracles <legendofmiracles@protonmail.com>2021-10-21 22:24:04 -0600
committerlegendofmiracles <legendofmiracles@protonmail.com>2021-10-21 22:24:04 -0600
commit72fb35ebfbc48b092732ddaf89b6bbb0041c32db (patch)
tree6d1f34c00214929bbf94efec73cc6069ce66151f /pkgs/shells
parentb678b680a9f372e5b9f61615b044eb513a6f9fb0 (diff)
hilbish: 0.6.0 -> 0.6.1
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/hilbish/default.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/shells/hilbish/default.nix b/pkgs/shells/hilbish/default.nix
index a4a54e45c636..f7e33b88cecc 100644
--- a/pkgs/shells/hilbish/default.nix
+++ b/pkgs/shells/hilbish/default.nix
@@ -2,26 +2,25 @@
buildGoModule rec {
pname = "hilbish";
- version = "0.6.0";
+ version = "0.6.1";
src = fetchFromGitHub {
owner = "Rosettea";
repo = "Hilbish";
rev = "v${version}";
- sha256 = "sha256-ACHHHGT3VGnvZVi1UZb57+g/slcld5e3bh+DDhUVVpQ=";
+ sha256 = "sha256-3qU1gQSWxyKgQcHgT61Q+n6u0rGU0vqTdT/VwMN20yw=";
fetchSubmodules = true;
};
- vendorSha256 = "sha256-SVGPMFpQjVOWCfiPpEmqhp6MEO0wqeyAZVyeNmTuXl0=";
+ vendorSha256 = "sha256-xnq0CEfz9uVpDkqY5/Sw9O5uMTHV74vQBXrav3bbH7E=";
buildInputs = [ readline ];
- ldflags = [ "-s" "-w" ];
-
- postPatch = ''
- substituteInPlace vars_linux.go \
- --replace "/usr/share" "${placeholder "out"}/share/"
- '';
+ ldflags = [
+ "-s"
+ "-w"
+ "-X main.dataDir=${placeholder "out"}/share/hilbish"
+ ];
postInstall = ''
mkdir -p "$out/share/hilbish"