Skip to content

Instantly share code, notes, and snippets.

@samueldr
Last active November 24, 2021 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueldr/9b37cada1a6cd7399f00904e94eeca1f to your computer and use it in GitHub Desktop.
Save samueldr/9b37cada1a6cd7399f00904e94eeca1f to your computer and use it in GitHub Desktop.
ag 'nix +(build|dev|shell|run|repl)' doc/ nixos/doc/
~/nixpkgs/nixos-unstable $ ag 'nix +(build|dev|shell|run|repl)' doc/ nixos/doc/
doc/stdenv/meta.chapter.md
119:The name of the main binary for the package. This effects the binary `nix run` executes and falls back to the name of the package. Example: `"rg"`
doc/stdenv/stdenv.chapter.md
1043:This won’t work with remote builds as the build environment is on a different machine and can’t be accessed by `cntr`. Remote builds can be turned off by setting `--option builders ''` for `nix-build` or `--builders ''` for `nix build`.
doc/builders/images/dockertools.section.md
252:$ nix run nixpkgs.nix-prefetch-docker -c nix-prefetch-docker --image-name mysql --image-tag 5
doc/builders/packages/urxvt.section.md
29:To get a list of all the plugins available, open the Nix REPL and run
32:$ nix repl
doc/contributing/submitting-changes.chapter.md
175:nix run nixpkgs.nixpkgs-review -c nixpkgs-review pr 12345
181:nix run nixpkgs.nixpkgs-review -c nixpkgs-review wip
187:nix run nixpkgs.nixpkgs-review -c nixpkgs-review rev HEAD
doc/contributing/coding-conventions.chapter.md
452: Find the value to put as `sha256` by running `nix run -f '<nixpkgs>' nix-prefetch-github -c nix-prefetch-github --rev 1f795f9f44607cc5bec70d1300150bfefcef2aae NixOS nix` or `nix-prefetch-url --unpack https://github.com/NixOS/nix/archive/1f795f9f44607cc5bec70d1300150bfefcef2aae.tar.gz`.
doc/languages-frameworks/texlive.section.md
31:- You can list packages e.g. by `nix repl`.
34: $ nix repl
doc/languages-frameworks/dhall.section.md
117:$ nix build --file ./example.nix dhallPackages.true
172:$ nix build --file ./example.nix dhallPackages.Prelude
203:$ nix build --file ./example.nix dhallPackages.Prelude
394:$ nix build --file ./example.nix dhallPackages.true
nixos/doc/manual/configuration/modularity.section.md
103:$ nix repl '<nixpkgs/nixos>'
nixos/doc/manual/release-notes/rl-1809.section.md
45: $ nix run -f '<nixpkgsunstable>' gitFull
nixos/doc/manual/from_md/configuration/modularity.section.xml
122: <literal>nix repl</literal>, a read-eval-print loop for Nix
126:$ nix repl '&lt;nixpkgs/nixos&gt;'
nixos/doc/manual/from_md/release-notes/rl-1809.section.xml
90:$ nix run -f '&lt;nixpkgsunstable&gt;' gitFull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment