Add .gitea/workflows/update.yml
Some checks failed
Nix Build / build-nixos (push) Has been cancelled

This commit is contained in:
sora 2024-04-13 10:52:49 +02:00 committed by soraefir
parent 35626de702
commit 918a2460f2
Signed by: sora
GPG Key ID: A362EA0491E2EEA0
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,3 @@
{ ... }: { { ... }: {
imports = [ ./develop ./firefox ./images ./mpv ./pipewire ./vosk ./zathura ]; imports = [ ./develop ./firefox ./images ./mpv ./pipewire ./zathura ];
} }

View File

@ -1,18 +1,23 @@
{ final, prev, ... }: { final, prev, ... }:
prev.eww.overrideAttrs (old: rec { let old = prev.eww;
in final.rustPlatform.buildRustPackage rec {
pname = "eww"; pname = "eww";
version = "ebe5f349d184e79edc33199d064d9ec5f1e4dd9b"; version = "ebe5f349d184e79edc33199d064d9ec5f1e4dd9b";
src = prev.fetchFromGitHub { src = prev.fetchFromGitHub {
owner = "elkowar"; owner = "elkowar";
repo = "eww"; repo = "eww";
rev = "${version}"; rev = "${version}";
hash = "sha256-WcAWIvIdGE0tcS7WJ6JlbRlUnKvpvut500NozUmJ6jY="; hash = "sha256-WcAWIvIdGE0tcS7WJ6JlbRlUnKvpvut500NozUmJ6jY=";
}; };
buildInputs = old.buildInputs ++ [ final.libdbusmenu-gtk3 ];
cargoDeps = old.cargoDeps.overrideAttrs (_: {
name = "${pname}-vendor.tar.gz";
inherit src;
outputHash = "sha256-seq5aS+TCLAV3qnKu6fRYdSXC+w7vI4ae+A7dBdpw14=";
}); cargoHash = "sha256-8n21FN6uNj/y/PhCDzpB+1ZifIbpjn4d2YPy4vTcVBM=";
})
nativeBuildInputs = old.nativeBuildInputs;
buildInputs = old.buildInputs ++ [ final.libdbusmenu-gtk3 ];
cargoBuildFlags = old.cargoBuildFlags;
cargoTestFlags = old.cargoTestFlags;
RUSTC_BOOTSTRAP = 1;
}