nixpkgs/pkgs/by-name/in/incus/ui.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
490 B
Nix
Raw Normal View History

2024-02-06 03:24:59 +00:00
{ lxd
, fetchFromGitHub
, git
}:
lxd.ui.overrideAttrs(prev: rec {
pname = "incus-ui";
zabbly = fetchFromGitHub {
owner = "zabbly";
repo = "incus";
2024-02-16 21:29:02 +00:00
rev = "8bbe23f42beedd845bd95069c06f4d0c85e450b6";
hash = "sha256-X0I8vrhvg5mLGAY8oEU/nr2pvDJ8ZqLUSY9WBqwmolE=";
2024-02-06 03:24:59 +00:00
};
nativeBuildInputs = prev.nativeBuildInputs ++ [
git
];
patchPhase = ''
for p in $zabbly/patches/ui-canonical*; do
echo "applying patch $p"
git apply -p1 "$p"
done
'';
})