From 20a41a30344f5d9ca2dd7ea9cd948a983d02f980 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Tue, 06 Jan 2026 02:54:12 +0000 Subject: [PATCH] ci: drop libsecret to reduce closure 7x --- --- a/flake.nix +++ b/flake.nix @@ -133,6 +133,18 @@ "--enable-gc-assertions" ]; }); + # Libsecret is stupidly huge + # https://github.com/oxalica/rust-overlay/issues/211 + libsecret = final.stdenv.mkDerivation { + name = "fake-libsecret"; + version = "1.0.0"; + unpackPhase = "true"; + buildPhase = "true"; + installPhase = '' + mkdir -p $out/lib/ + echo "" | gcc -shared -o $out/lib/libsecret-1.so.0 -x c - + ''; + }; }) ]; }; -- gitstuff