Skip to content

Commit

Permalink
flake.nix: inherit stdenv from package
Browse files Browse the repository at this point in the history
Means we no longer have to change the base stdenv in two places.
  • Loading branch information
fufexan committed Sep 13, 2024
1 parent dbf0981 commit 0d2c44a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,9 @@
devShells = eachSystem (system: {
default =
pkgsFor.${system}.mkShell.override {
stdenv = pkgsFor.${system}.gcc14Stdenv;
inherit (self.packages.${system}.default) stdenv;
} {
name = "hyprland-shell";
nativeBuildInputs = with pkgsFor.${system}; [
expat
libxml2
];
hardeningDisable = ["fortify"];
inputsFrom = [pkgsFor.${system}.hyprland];
packages = [pkgsFor.${system}.clang-tools];
Expand Down

0 comments on commit 0d2c44a

Please sign in to comment.