diff --git a/flake.nix b/flake.nix index 7af96cc3..31172f8e 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 00000000..51b4241c --- /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="; + }; +})