aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README64
-rw-r--r--conjure-minion.nix6
2 files changed, 64 insertions, 6 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..5336d61
--- /dev/null
+++ b/README
@@ -0,0 +1,64 @@
+# magpkgs
+
+Welcome to my little Nix package repo, containing packages of applications I'd
+like to use in NixOS.
+
+## Using magpkgs
+
+Add the magpkgs master branch as a Nix channel:
+```sh
+$ nix-channel --add https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/snapshot/magpkgs-master.tar.gz magpkgs
+```
+and import it as `<magpkgs>`, similarly to `<nixpkgs>`.
+
+To receive new updates from the repo, simply update the channel:
+```sh
+$ nix-channel --update magpkgs
+```
+and rebuild any derivations that use magpkgs.
+
+## Rationale
+
+Originally, I was planning on making some packages and creating PRs for them in
+the main nixpkgs repo. However, I realised keeping my packages seperate might
+be a better idea, for a few reasons:
+
+- the nixpkgs repo usually only keeps application versions around if they think
+ people are using those specific versions for a good reason; I'd prefer to not
+ assume this kind of thing, and would instead like to manage derivations of as
+ many versions as possible;
+- some programs I plan on packaging (e.g. Factorio) already have packages in
+ nixpkgs, but I'd prefer to package them a different way;
+- some programs depend on specific versions of their dependencies---I'd like to
+ make thorough version dependency checking, which is something nixpkgs avoids
+ doing by only keeping a few derivations of each program.
+
+## Example: Building a Working Conjure
+
+Conjure relies on specific versions of Savile Row and Minion to work: for
+example, its most recent release does not work if given the most recent
+releases of Savile Row and Minion provide on their respective websites.
+However, it does work with the versions provided in Conjure's supplementary
+download. To build a working version of Conjure, use this expression:
+
+```nix
+{ ... }:
+
+with import <magpkgs> {};
+
+conjure.override {
+ savilerow = conjure.containedSolvers.savilerow;
+}
+```
+
+Hopefully in the future, version dependency management will ensure that
+packages are put together using versions that co-operate by default.
+
+## Contributing/Bugs/Contact Me
+
+If you'd like to submit a patch for consideration, would like to highlight a
+bug, or would just like to contact me about this project, please email
+magpkgs@magnostherobot.co.uk
+
+If you would like to contact me for other reasons, please email
+tom@magnostherobot.co.uk
diff --git a/conjure-minion.nix b/conjure-minion.nix
deleted file mode 100644
index 0183346..0000000
--- a/conjure-minion.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-let conjure = (import ./default.nix {}).conjure; in
-
-conjure.override {
- # minion = conjure.containedSolvers.minion;
- savilerow = conjure.containedSolvers.savilerow;
-}