-
To provide Nix repositories with an easy and standard way to reference other Nix repositories.
-
To allow such references to be queried and updated automatically.
-
To provide a replacement for
nix-channel
,NIX_PATH
and Hydra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env nix-shell | |
#! nix-shell -i bash --pure -p diffoscope nix | |
# shellcheck shell=bash | |
set -eo pipefail | |
if [[ -z "$1" ]]; then | |
cat <<EOF | |
usage: | |
./r13y.sh -A some.attribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ system ? builtins.currentSystem }: | |
# In order to update `nixpkgs.json` to a specific revision, run: | |
# | |
# ```bash | |
# $ nix-prefetch-git https://github.com/NixOS/nixpkgs.git "${REVISION}" > nixpkgs.json | |
# ``` | |
with rec { | |
builtin-paths = import <nix/config.nix>; |