From dd5054ec3f82ab1155778991fda1fa10b1d6d8a0 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Mon, 15 Apr 2024 17:36:32 +0200 Subject: [PATCH] add dev output to static proot --- overlays/static-overlay.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/overlays/static-overlay.nix b/overlays/static-overlay.nix index 705110a..1aefa01 100644 --- a/overlays/static-overlay.nix +++ b/overlays/static-overlay.nix @@ -30,6 +30,13 @@ final: prev: rec { nativeBuildInputs = [ final.pkg-config ]; postBuild = ""; postInstall = ""; + + # so i was wondering, why the static proot had so many dependencies in it's closure + # because a static binary should have none + # found: https://github.com/NixOS/nixpkgs/issues/83667 + # and: https://github.com/NixOS/nixpkgs/pull/83793 + # so adding a dev outpt, where the nix-support/propagated-build-inputs should end up + outputs = [ "out" "dev" ]; });