From 2149f778fc5eaf6071ccc934f074c64e3e93ab32 Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Mon, 27 Jul 2026 15:28:40 +0800 Subject: [PATCH] fix package leak --- flake.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 839a2ab..8d5eb6e 100644 --- a/flake.nix +++ b/flake.nix @@ -29,14 +29,15 @@ inherit pkgs; }; in - rec { - packages = pkgs // xpkgs; - defaultPackage = xpkgs.librtti_debug; + { + packages = { + librtti = xpkgs.librtti; + librtti_debug = xpkgs.librtti_debug; + default = xpkgs.librtti; + }; devShells.default = pkgs.mkShell { nativeBuildInputs = xpkgs.librtti.nativeBuildInputs; }; - - devShell = self.devShells.${system}.default; } ); }