From 3e21e627e0da08bc6bb78b9e505c418977bfc007 Mon Sep 17 00:00:00 2001 From: Davi Ribeiro <104164579+Markus328@users.noreply.github.com> Date: Thu, 14 Aug 2025 04:24:33 -0300 Subject: nix: use newer version of app2unit (#419) --- flake.nix | 1 + nix/app2unit.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 nix/app2unit.nix 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="; + }; +}) -- cgit v1.2.3-freya