Nix: use gcc13Stdenv

This commit is contained in:
Mihai Fufezan 2023-09-07 11:20:08 +03:00
parent cc5852faa2
commit 0be6b03ee9
No known key found for this signature in database
3 changed files with 5 additions and 3 deletions

View File

@ -77,7 +77,9 @@
});
devShells = eachSystem (system: {
default = pkgsFor.${system}.mkShell {
default = pkgsFor.${system}.mkShell.override {
stdenv = pkgsFor.${system}.gcc13Stdenv;
} {
name = "hyprland-shell";
nativeBuildInputs = with pkgsFor.${system}; [cmake python3];
buildInputs = [self.packages.${system}.wlroots-hyprland];

View File

@ -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;

View File

@ -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 "";