feat: Remove juicity package function
This commit is contained in:
parent
62f4bcf5ec
commit
9c6ad33e41
3 changed files with 0 additions and 41 deletions
|
|
@ -5,7 +5,6 @@ let
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
./niri.nix
|
./niri.nix
|
||||||
./juicity.nix
|
|
||||||
./dae.nix
|
./dae.nix
|
||||||
./spotifyx.nix
|
./spotifyx.nix
|
||||||
./radicle-explorer.nix
|
./radicle-explorer.nix
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{ outputs, ... }:
|
|
||||||
_final: prev:
|
|
||||||
let
|
|
||||||
inherit (prev.stdenv.hostPlatform) system;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
juicity = outputs.packages."${system}".juicity;
|
|
||||||
}
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
{
|
|
||||||
buildGoModule,
|
|
||||||
srcs,
|
|
||||||
}:
|
|
||||||
buildGoModule rec {
|
|
||||||
name = "juicity";
|
|
||||||
version = "unstable-${srcs.juicity.date}.${srcs.juicity.version}";
|
|
||||||
|
|
||||||
src = srcs.juicity.src;
|
|
||||||
env.CGO_ENABLED = 0;
|
|
||||||
|
|
||||||
subPackages = [
|
|
||||||
"cmd/server"
|
|
||||||
"cmd/client"
|
|
||||||
];
|
|
||||||
vendorHash = "sha256-PdX9GENqdTPpNWVRG3cTgZfAlEU85MVgDOJdcVT4gnw=";
|
|
||||||
fixupPhase = ''
|
|
||||||
runHook preFixup
|
|
||||||
|
|
||||||
mv $out/bin/server $out/bin/juicity-server
|
|
||||||
mv $out/bin/client $out/bin/juicity-client
|
|
||||||
|
|
||||||
runHook postFixup
|
|
||||||
'';
|
|
||||||
|
|
||||||
ldflags = [
|
|
||||||
"-s"
|
|
||||||
"-w"
|
|
||||||
"-X"
|
|
||||||
"github.com/juicity/juicity/config.Version=${version}"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue