fix: cockpit-zfs-manager: update to non-absolute executable paths

main
LeRoyce Pearson 2024-01-09 13:27:42 -07:00
parent 912d4a353c
commit 67c27b2a9c
1 changed files with 7 additions and 6 deletions

View File

@ -1,12 +1,13 @@
{ lib, stdenv, fetchzip }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "cockpit-zfs-manager";
version = "1.3.1";
githubUsername = "45Drives";
version = "18471f0ed239719585c82baf94628aa14e488e0e";
src = fetchzip {
url = "https://github.com/${githubUsername}/${pname}/archive/refs/tags/v${version}.tar.gz";
sha256 = "sha256-ge3wrri/eG1HprFSBYkjlqLzYOM3S4gUoqyE1w2Grz8=";
src = fetchFromGitHub {
owner = "leroycep";
repo = "cockpit-zfs-manager";
rev = "${version}";
hash = "sha256-Q+cggUpW9ds2pzMz4MKrgeI6FgbpxMzJh9YNZNSMtK0=";
};
installPhase = ''