aboutsummaryrefslogtreecommitdiff
path: root/src/nix/realisation
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-03-09 10:11:25 +0100
committerregnat <rg@regnat.ovh>2021-03-09 10:16:44 +0100
commit89013bdd7ed4007871cc421315b51b7cada8edff (patch)
tree56f747c36acb81938aded0ba985881ecaa53ee39 /src/nix/realisation
parent1c0e3e453d41b869e4ac7e25dc1c00c349a7c411 (diff)
Add a `nix realisation` command for working on realisations
Currently only has `nix realisation info`, more to come probably
Diffstat (limited to 'src/nix/realisation')
-rw-r--r--src/nix/realisation/info.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/nix/realisation/info.md b/src/nix/realisation/info.md
new file mode 100644
index 000000000..852240f44
--- /dev/null
+++ b/src/nix/realisation/info.md
@@ -0,0 +1,15 @@
+R"MdBoundary(
+# Description
+
+Display some informations about the given realisation
+
+# Examples
+
+Show some information about the realisation of the `hello` package:
+
+```console
+$ nix realisation info nixpkgs#hello --json
+[{"id":"sha256:3d382378a00588e064ee30be96dd0fa7e7df7cf3fbcace85a0e7b7dada1eef25!out","outPath":"fd3m7xawvrqcg98kgz5hc2vk3x9q0lh7-hello"}]
+```
+
+)MdBoundary"