mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
Compare commits
No commits in common. "8d82feb56fec9204ea7c67409b0178fb6ff086ed" and "3638372cd101777a2ce85ab9c7f8726e21640333" have entirely different histories.
8d82feb56f
...
3638372cd1
2 changed files with 13 additions and 22 deletions
|
|
@ -1,25 +1,6 @@
|
||||||
{ self, ... }@inputs:
|
{ self, ... }@inputs:
|
||||||
myLib: lib:
|
|
||||||
let
|
|
||||||
systemDependent = {
|
|
||||||
appendSystem = system: x: "${x}-${system}";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
|
|
||||||
inherit systemDependent;
|
|
||||||
|
|
||||||
__functor =
|
|
||||||
self: system:
|
|
||||||
let
|
|
||||||
systemDependent = builtins.mapAttrs (_: v: v system) self.sysDependantFuncs;
|
|
||||||
in
|
|
||||||
self
|
|
||||||
// {
|
|
||||||
inherit systemDependent;
|
|
||||||
}
|
|
||||||
// systemDependent;
|
|
||||||
|
|
||||||
|
myLib: lib: {
|
||||||
overlay = import ./overlay.nix inputs;
|
overlay = import ./overlay.nix inputs;
|
||||||
|
|
||||||
wrench = lib.flip lib.pipe;
|
wrench = lib.flip lib.pipe;
|
||||||
|
|
@ -154,4 +135,3 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
// systemDependent
|
|
||||||
|
|
|
||||||
|
|
@ -37,5 +37,16 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
allowSubstitutes = false;
|
allowSubstitutes = false;
|
||||||
|
|
||||||
meta.mainProgram = "minecraft-server";
|
meta = {
|
||||||
|
description = "High-performance Minecraft Server";
|
||||||
|
homepage = "https://papermc.io/";
|
||||||
|
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
||||||
|
license = lib.licenses.gpl3Only;
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
aaronjanse
|
||||||
|
neonfuz
|
||||||
|
];
|
||||||
|
mainProgram = "minecraft-server";
|
||||||
|
};
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue