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