grimm-nixos-laptop/patches/lix-ccache.patch
2024-05-09 20:36:33 +02:00

23 lines
570 B
Diff

diff --git a/package.nix b/package.nix
index 0186b7472..da783e152 100644
--- a/package.nix
+++ b/package.nix
@@ -1,7 +1,7 @@
{
pkgs,
lib,
- stdenv,
+ ccacheStdenv,
aws-sdk-cpp,
# If the patched version of Boehm isn't passed, then patch it based off of
# pkgs.boehmgc. This allows `callPackage`ing this file without needing to
@@ -81,6 +81,8 @@ let
inherit (__forDefaults) canRunInstalled;
inherit (lib) fileset;
+ stdenv = ccacheStdenv;
+
version = lib.fileContents ./.version + versionSuffix;
aws-sdk-cpp-nix = aws-sdk-cpp.override {