1
0
Fork 0

flake: move mediawiki-extensions back to packages

This commit is contained in:
Oystein Kristoffer Tveit 2024-05-26 02:17:48 +02:00
parent 96024efa28
commit 3a972f03f7
Signed by untrusted user: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 15 additions and 16 deletions

View File

@ -139,16 +139,15 @@
(nixlib.getAttrs allMachines self.packages.x86_64-linux); (nixlib.getAttrs allMachines self.packages.x86_64-linux);
simplesamlphp = pkgs.callPackage ./packages/simplesamlphp { }; simplesamlphp = pkgs.callPackage ./packages/simplesamlphp { };
} // nixlib.genAttrs allMachines
(machine: self.nixosConfigurations.${machine}.config.system.build.toplevel);
} ;
legacyPackages = { } //
"x86_64-linux" = let (nixlib.pipe null [
pkgs = nixpkgs.legacyPackages."x86_64-linux"; (_: pkgs.callPackage ./packages/mediawiki-extensions { })
in rec { (nixlib.flip builtins.removeAttrs ["override" "overrideDerivation"])
mediawiki-extensions = pkgs.callPackage ./packages/mediawiki-extensions { }; (nixlib.mapAttrs' (name: nixlib.nameValuePair "mediawiki-${name}"))
}; ])
// nixlib.genAttrs allMachines
(machine: self.nixosConfigurations.${machine}.config.system.build.toplevel);
}; };
}; };
} }

View File

@ -1,8 +1,8 @@
{ pkgs, lib }: { pkgs, lib }:
lib.makeScope pkgs.newScope (self: { {
DeleteBatch = self.callPackage ./delete-batch { }; DeleteBatch = pkgs.callPackage ./delete-batch { };
PluggableAuth = self.callPackage ./pluggable-auth { }; PluggableAuth = pkgs.callPackage ./pluggable-auth { };
SimpleSAMLphp = self.callPackage ./simple-saml-php { }; SimpleSAMLphp = pkgs.callPackage ./simple-saml-php { };
UserMerge = self.callPackage ./user-merge { }; UserMerge = pkgs.callPackage ./user-merge { };
VisualEditor = self.callPackage ./visual-editor { }; VisualEditor = pkgs.callPackage ./visual-editor { };
}) }