nix: use newer version of app2unit (#419)

This commit is contained in:
Davi Ribeiro 2025-08-14 04:24:33 -03:00 committed by GitHub
parent a02d774b0a
commit 3e21e627e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View file

@ -35,6 +35,7 @@
withX11 = false;
withI3 = false;
};
app2unit = pkgs.callPackage ./nix/app2unit.nix {inherit pkgs;};
caelestia-cli = inputs.caelestia-cli.packages.${pkgs.system}.default;
};
with-cli = caelestia-shell.override {withCli = true;};

14
nix/app2unit.nix Normal file
View file

@ -0,0 +1,14 @@
{
pkgs, # To ensure the nixpkgs version of app2unit
fetchFromGitHub,
...
}:
pkgs.app2unit.overrideAttrs (final: prev: rec {
version = "1.0.3"; # Fix old issue related to missing env var
src = fetchFromGitHub {
owner = "Vladimir-csp";
repo = "app2unit";
tag = "v${version}";
hash = "sha256-7eEVjgs+8k+/NLteSBKgn4gPaPLHC+3Uzlmz6XB0930=";
};
})