summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=";
+ };
+})