Add readme, and move all expressions into a subdirectory

master
Sven Slootweg 6 years ago
parent 8971f457e3
commit 4acc47083a

@ -0,0 +1,13 @@
# morepkgs
Work in progress; a repository of stuff that doesn't quite fit into nixpkgs (yet).
This is designed as an overlay that's to be used on top of current-stable `nixpkgs`. Instructions coming soon.
## Build server
Automatic builds occur at https://hydra.cryto.net/project/morepkgs.
## Why is everything in a `morepkgs` folder?
Because `fetchTarball` removes the top-level path component, and therefore top-level stuff will vanish when a tarball of this repository is fetched using it. Nesting everything into a folder works around that, and there's still a `default.nix` in the root that aliases to `morepkgs/default.nix` for tools that *don't* have strange path-component-removing semantics.

@ -1,6 +1 @@
self: super:
{
morepkgs = {
xonotic = super.callPackage ./pkgs/games/xonotic {};
};
}
import ./morepkgs/default.nix

@ -0,0 +1,6 @@
self: super:
{
morepkgs = {
xonotic = super.callPackage ./pkgs/games/xonotic {};
};
}

@ -1 +1 @@
nix-build -I "nixpkgs-stable=$(nix-instantiate --find-file nixpkgs)" -A xonotic build/release.nix
nix-build -I "nixpkgs-stable=$(nix-instantiate --find-file nixpkgs)" -A xonotic morepkgs/build/release.nix

Loading…
Cancel
Save