From 96024efa287ac554e3f1b7a538e3eaca883740b0 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Mon, 15 Apr 2024 01:38:25 +0200 Subject: [PATCH] flake: move mediawiki-extensions to legacyPackages --- flake.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 6147832e..4f1acdac 100644 --- a/flake.nix +++ b/flake.nix @@ -139,10 +139,16 @@ (nixlib.getAttrs allMachines self.packages.x86_64-linux); simplesamlphp = pkgs.callPackage ./packages/simplesamlphp { }; - - mediawiki-extensions = pkgs.callPackage ./packages/mediawiki-extensions { }; } // nixlib.genAttrs allMachines (machine: self.nixosConfigurations.${machine}.config.system.build.toplevel); + } ; + + legacyPackages = { + "x86_64-linux" = let + pkgs = nixpkgs.legacyPackages."x86_64-linux"; + in rec { + mediawiki-extensions = pkgs.callPackage ./packages/mediawiki-extensions { }; + }; }; }; }