From c4df8322bf2e55f585276c1775c0f85b274b4df3 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 30 Nov 2026 21:38:50 +0000 Subject: default.nix: provide hrm's package set as pkgs From legacy.nix's legacyPackages, nixpkgs with hrm's overlays, e.g. nix-build -A pkgs.crate2nix. --- legacy.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'legacy.nix') diff --git a/legacy.nix b/legacy.nix index e843978b..e3febb02 100644 --- a/legacy.nix +++ b/legacy.nix @@ -1,6 +1,7 @@ { inputs ? rec { crate2nix = ; mobile-nixos = ; + nixpkgs.__toString = _: toString ; nixpkgs.lib = import // { nixosSystem = import ; }; @@ -56,6 +57,10 @@ # The system that builds; null: the host's own. , buildSystem ? builtins.currentSystem or null }: { + legacyPackages.x86_64-linux = import inputs.nixpkgs { + system = "x86_64-linux"; + inherit overlays; + }; nixosConfigurations = inputs.nixpkgs.lib.mapAttrs (name: _: let -- cgit v1.3.1