mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #286614 from mkg20001/incus-ui
incus.ui: init at 0.5
This commit is contained in:
commit
0855890473
@ -165,6 +165,7 @@ symlinkJoin {
|
||||
|
||||
passthru = {
|
||||
inherit client unwrapped;
|
||||
ui = callPackage ./ui.nix {};
|
||||
|
||||
inherit (unwrapped) tests;
|
||||
};
|
||||
|
26
pkgs/by-name/in/incus/ui.nix
Normal file
26
pkgs/by-name/in/incus/ui.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lxd
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
}:
|
||||
|
||||
lxd.ui.overrideAttrs(prev: rec {
|
||||
pname = "incus-ui";
|
||||
|
||||
zabbly = fetchFromGitHub {
|
||||
owner = "zabbly";
|
||||
repo = "incus";
|
||||
rev = "141fb0736cc12083b086c389c68c434f86d5749e";
|
||||
hash = "sha256-6o1LhqGTpuZNdSVbT8wAVcN5A3CwiXcwVOz0AqDxCPw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = prev.nativeBuildInputs ++ [
|
||||
git
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
for p in $zabbly/patches/ui-canonical*; do
|
||||
echo "applying patch $p"
|
||||
git apply -p1 "$p"
|
||||
done
|
||||
'';
|
||||
})
|
Loading…
Reference in New Issue
Block a user