summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-10-12 22:58:50 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-10-12 22:58:50 +0200
commit9443a0b51e356116ae4ee22be9b8aae5d3bcd386 (patch)
tree0d5e43f3b2460fe567b4f5ce2e57976eb8203519 /nixos/modules/profiles
parentf6caf65a4a8031f9e1073949734d91b3293034b0 (diff)
darwin.linux-builder: Set meta.position
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/macos-builder.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/profiles/macos-builder.nix b/nixos/modules/profiles/macos-builder.nix
index cc01b16960ce..f36b8e70fd38 100644
--- a/nixos/modules/profiles/macos-builder.nix
+++ b/nixos/modules/profiles/macos-builder.nix
@@ -163,6 +163,7 @@ in
in
script.overrideAttrs (old: {
+ pos = __curPos; # sets meta.position to point here; see script binding above for package definition
meta = (old.meta or { }) // {
platforms = lib.platforms.darwin;
};