summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavi Ribeiro <104164579+Markus328@users.noreply.github.com>2025-08-14 04:24:33 -0300
committerGitHub <noreply@github.com>2025-08-14 17:24:33 +1000
commit3e21e627e0da08bc6bb78b9e505c418977bfc007 (patch)
treeafbcd5c5884b995b1911231490bdbe70b7788cc5
parentconfig: add config for bar tray recolour & bg (diff)
downloadcaelestia-shell-3e21e627e0da08bc6bb78b9e505c418977bfc007.tar.gz
caelestia-shell-3e21e627e0da08bc6bb78b9e505c418977bfc007.tar.bz2
caelestia-shell-3e21e627e0da08bc6bb78b9e505c418977bfc007.zip
nix: use newer version of app2unit (#419)
-rw-r--r--flake.nix1
-rw-r--r--nix/app2unit.nix14
2 files changed, 15 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 7af96cc..31172f8 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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;};
diff --git a/nix/app2unit.nix b/nix/app2unit.nix
new file mode 100644
index 0000000..51b4241
--- /dev/null
+++ b/nix/app2unit.nix
@@ -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=";
+ };
+})