Loading pkgs/by-name/sn/snicat/package.nix +2 −10 Original line number Diff line number Diff line { lib , stdenv , buildGoPackage , fetchFromGitHub }: Loading @@ -14,19 +13,12 @@ buildGoPackage rec { hash = "sha256-fFlTBOz127le2Y7F9KKhbcldcyFEpAU5QiJ4VCAPs9Y="; }; patchPhase = '' runHook prePatch substituteInPlace snicat.go \ --replace-warn "v0.0.0" "v${version}" runHook postPatch ''; goPackagePath = "github.com/CTFd/snicat"; goDeps = ./deps.nix; ldflags = [ "-s" "-w" "-X main.version=v${version}" ]; installPhase = '' runHook preInstall Loading Loading
pkgs/by-name/sn/snicat/package.nix +2 −10 Original line number Diff line number Diff line { lib , stdenv , buildGoPackage , fetchFromGitHub }: Loading @@ -14,19 +13,12 @@ buildGoPackage rec { hash = "sha256-fFlTBOz127le2Y7F9KKhbcldcyFEpAU5QiJ4VCAPs9Y="; }; patchPhase = '' runHook prePatch substituteInPlace snicat.go \ --replace-warn "v0.0.0" "v${version}" runHook postPatch ''; goPackagePath = "github.com/CTFd/snicat"; goDeps = ./deps.nix; ldflags = [ "-s" "-w" "-X main.version=v${version}" ]; installPhase = '' runHook preInstall Loading