From a5f3454ce3b1e418292ccaaa62d6d2f1b832d5e0 Mon Sep 17 00:00:00 2001 From: ppenguin Date: Wed, 13 Jan 2021 21:14:32 +0100 Subject: [PATCH] Update README.md: small fix which makes the described repoOverrides work. (ref. IRC with Mic92) --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 90ed6b800..e966650f7 100644 --- a/README.md +++ b/README.md @@ -412,15 +412,17 @@ This allows to test changes before publishing. nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; repoOverrides = { - mic92 = import ../nur-packages; + mic92 = import ../nur-packages { inherit pkgs; }; ## remote locations are also possible: - # mic92 = import (builtins.fetchTarball "https://github.com/your-user/nur-packages/archive/master.tar.gz"); + # mic92 = import (builtins.fetchTarball "https://github.com/your-user/nur-packages/archive/master.tar.gz") { inherit pkgs; }; }; }; }; } ``` +The repo must be a valid package repo, i.e. its root contains a `default.nix` file. + ## Contribution guideline - When adding packages to your repository make sure they build and set