incus-ui: Use function with mkDerivation instead of rec
Some checks failed
/ check (push) Failing after 19m32s
Some checks failed
/ check (push) Failing after 19m32s
This commit is contained in:
parent
43d24fab35
commit
217dfcd389
1 changed files with 63 additions and 61 deletions
|
@ -10,20 +10,21 @@
|
|||
rsync,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (
|
||||
finalAttrs: {
|
||||
pname = "incus-ui";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "canonical";
|
||||
repo = "lxd-ui";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
# hash = "sha256-52MRf7bk8Un9wqz00+JjDmuJgPKYhgAhIbMbcAuf8W8=";
|
||||
hash = "sha256-3Ts6lKyzpMDVATCKD1fFIGTskWzWpQUT9S8cPFnlEOs=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${src}/yarn.lock";
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-0pyxwMGGqogEe1w3sail8NUDHtxLQZU9Wg8E6rQNy4o=";
|
||||
};
|
||||
|
||||
|
@ -86,3 +87,4 @@ stdenv.mkDerivation rec {
|
|||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue