mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 18:34:38 +00:00
27 lines
490 B
Nix
27 lines
490 B
Nix
{ 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
|
|
'';
|
|
})
|