diff options
| author | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-08-28 19:48:07 +1000 |
|---|---|---|
| committer | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-08-28 19:48:07 +1000 |
| commit | 27f1fbab3fd62a4fcc5801d132724709667b67fb (patch) | |
| tree | 69d426ab5620be09ed2adda4bada9f965c4dc5a4 | |
| parent | nix: set version (diff) | |
| download | caelestia-shell-27f1fbab3fd62a4fcc5801d132724709667b67fb.tar.gz caelestia-shell-27f1fbab3fd62a4fcc5801d132724709667b67fb.tar.bz2 caelestia-shell-27f1fbab3fd62a4fcc5801d132724709667b67fb.zip | |
nix: fix build
| -rw-r--r-- | flake.nix | 1 | ||||
| -rw-r--r-- | nix/default.nix | 7 |
2 files changed, 4 insertions, 4 deletions
@@ -30,7 +30,6 @@ packages = forAllSystems (pkgs: rec { caelestia-shell = pkgs.callPackage ./nix { - rev = self.rev or self.dirtyRev; quickshell = inputs.quickshell.packages.${pkgs.system}.default.override { withX11 = false; withI3 = false; diff --git a/nix/default.nix b/nix/default.nix index cdefdc6..dc1c9ac 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -1,5 +1,4 @@ { - rev, lib, stdenv, makeWrapper, @@ -36,6 +35,8 @@ withCli ? false, extraRuntimeDeps ? [], }: let + version = "1.0.0"; + runtimeDeps = [ fish @@ -64,8 +65,8 @@ }; in stdenv.mkDerivation { + inherit version; pname = "caelestia-shell"; - version = "${rev}"; src = ./..; nativeBuildInputs = [cmake ninja pkg-config makeWrapper qt6.wrapQtAppsHook]; @@ -74,7 +75,7 @@ in cmakeBuildType = "Release"; cmakeFlags = [ - (lib.cmakeFeature "VERSION" rev) + (lib.cmakeFeature "VERSION" version) (lib.cmakeFeature "INSTALL_LIBDIR" "${placeholder "out"}/lib") (lib.cmakeFeature "INSTALL_QMLDIR" qt6.qtbase.qtQmlPrefix) (lib.cmakeFeature "INSTALL_QSCONFDIR" "${placeholder "out"}/share/caelestia-shell") |