From 30ea4a75cd6ba00bc3f389eb4057d04814463168 Mon Sep 17 00:00:00 2001 From: Jonas Chevalier Date: Tue, 18 Jul 2023 17:31:21 +0200 Subject: [PATCH] devcontainer: fix build on nixos-unstable (#64) --- images/devcontainer/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/images/devcontainer/default.nix b/images/devcontainer/default.nix index 8b1257f..3b993f6 100644 --- a/images/devcontainer/default.nix +++ b/images/devcontainer/default.nix @@ -55,7 +55,12 @@ let shadow # for the vscode extension - gcc-unwrapped + + # HACK: don't include the "libgcc" output. It has overlapping files with + # the "lib" output, and that breaks the build. + (gcc-unwrapped // { + outputs = builtins.filter (x: x != "libgcc") gcc-unwrapped.outputs; + }) iproute ]; };