diff options
author | Mihai Fufezan <[email protected]> | 2023-09-07 11:20:08 +0300 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2023-09-07 11:20:08 +0300 |
commit | 0be6b03ee972fcc4921984f3b68469a2ee121511 (patch) | |
tree | 598aac1ed2ecfca732ca3f7b7032fdddf778f777 /nix | |
parent | cc5852faa227f7c618cf7b045793ce1236fd142f (diff) | |
download | Hyprland-0be6b03ee972fcc4921984f3b68469a2ee121511.tar.gz Hyprland-0be6b03ee972fcc4921984f3b68469a2ee121511.zip |
Nix: use gcc13Stdenv
Diffstat (limited to 'nix')
-rw-r--r-- | nix/default.nix | 3 | ||||
-rw-r--r-- | nix/overlays.nix | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nix/default.nix b/nix/default.nix index 46302e41..96fa12d7 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -1,7 +1,6 @@ { lib, stdenv, - gcc13Stdenv, pkg-config, makeWrapper, meson, @@ -40,7 +39,7 @@ }: assert lib.assertMsg (!nvidiaPatches) "The option `nvidiaPatches` has been renamed `enableNvidiaPatches`"; assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been removed. Please refer https://wiki.hyprland.org/Configuring/XWayland"; - gcc13Stdenv.mkDerivation { + stdenv.mkDerivation { pname = "hyprland${lib.optionalString enableNvidiaPatches "-nvidia"}${lib.optionalString debug "-debug"}"; inherit version; diff --git a/nix/overlays.nix b/nix/overlays.nix index ba0ac302..dbdfc6a2 100644 --- a/nix/overlays.nix +++ b/nix/overlays.nix @@ -30,6 +30,7 @@ in { # Hyprland packages themselves (final: prev: { hyprland = final.callPackage ./default.nix { + stdenv = final.gcc13Stdenv; version = "${props.version}+date=${mkDate (self.lastModifiedDate or "19700101")}_${self.shortRev or "dirty"}"; wlroots = final.wlroots-hyprland; commit = self.rev or ""; |