flake: move mediawiki-extensions back to packages
This commit is contained in:
parent
3679425c84
commit
ec7c174ab0
23
flake.nix
23
flake.nix
|
@ -141,16 +141,23 @@
|
||||||
(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
|
|
||||||
|
} //
|
||||||
|
(nixlib.pipe null [
|
||||||
|
(_: pkgs.callPackage ./packages/mediawiki-extensions { })
|
||||||
|
(nixlib.flip builtins.removeAttrs ["override" "overrideDerivation"])
|
||||||
|
(nixlib.mapAttrs' (name: nixlib.nameValuePair "mediawiki-${name}"))
|
||||||
|
])
|
||||||
|
// nixlib.genAttrs allMachines
|
||||||
(machine: self.nixosConfigurations.${machine}.config.system.build.toplevel);
|
(machine: self.nixosConfigurations.${machine}.config.system.build.toplevel);
|
||||||
};
|
};
|
||||||
|
|
||||||
legacyPackages = {
|
# legacyPackages = {
|
||||||
"x86_64-linux" = let
|
# "x86_64-linux" = let
|
||||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
# pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||||
in rec {
|
# in rec {
|
||||||
mediawiki-extensions = pkgs.callPackage ./packages/mediawiki-extensions { };
|
# mediawiki-extensions = pkgs.callPackage ./packages/mediawiki-extensions { };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 { };
|
||||||
})
|
}
|
||||||
|
|
Loading…
Reference in New Issue