mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2024-11-01 19:11:15 +00:00
headscale-ui: clean up
This commit is contained in:
parent
c8caa4bb87
commit
0fc5b7253d
1 changed files with 8 additions and 6 deletions
|
@ -1,21 +1,23 @@
|
||||||
{
|
{
|
||||||
stdenv,
|
stdenvNoCC,
|
||||||
fetchzip,
|
fetchzip,
|
||||||
lib,
|
lib,
|
||||||
}: let
|
}: let
|
||||||
pname = "headscale-ui";
|
pname = "headscale-ui";
|
||||||
version = "0-unstable-2024-02-24";
|
version = "0-unstable-2024-02-24";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/gurucomputing/headscale-ui/releases/download/2024.02.24-beta-1/headscale-ui.zip";
|
url = "https://github.com/gurucomputing/headscale-ui/releases/download/2024.02.24-beta1/headscale-ui.zip";
|
||||||
sha256 = "sha256-6SUgtSTFvJWNdsWz6AiOfUM9p33+8EhDwyqHX7O2+NQ=";
|
sha256 = "sha256-HHzxGlAtVXs0jfNJ/khbNA/aQsGKvii1Hm+8hlJQYYY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/
|
runHook preInstall
|
||||||
cp -r web/ $out/share/
|
mkdir -p $out/share
|
||||||
|
cp -r ./* $out/share
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue