aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Helgesson2022-08-04 22:44:47 +0200
committerRobert Helgesson2022-08-04 22:44:47 +0200
commit9e79e4028a8af2479233b5968f48f7f8d06376d1 (patch)
treeae57b487d36faa6b5d3da8e4016248508a26fb67
parent6564bee9ee7390f1d4612b1ff654ac82a8b14d17 (diff)
Fetch system from `stdenv.hostPlatform`
The top-level `system` attribute has been deprecated for quite a while. See https://github.com/NixOS/nixpkgs/commit/4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index bfb0b77..66ba60b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -19,7 +19,7 @@
{
overlay = final: prev:
let
- system = final.system;
+ system = final.stdenv.hostPlatform.system;
darwinOptions = final.lib.optionalAttrs final.stdenv.isDarwin {
buildInputs = with final.darwin.apple_sdk.frameworks; [
SystemConfiguration