From 9ab4662818a625eea845b401830cb2092f02563d Mon Sep 17 00:00:00 2001 From: Wout De Puysseleir Date: Wed, 25 Oct 2023 14:23:20 -0700 Subject: [PATCH] show-derivation -> derivation show It looks like the command `nix show-derivation` is deprecated in favor of `nix derivation show` This replaces all instances of `show-derivation` with `derivation show` --- pills/06/examine-build.xml | 2 +- pills/06/show-derivation.xml | 2 +- pills/07/foo.drv.xml | 2 +- pills/18/bar-derivation.xml | 2 +- pills/18/derivation-simple-content.xml | 2 +- pills/19/hello-derivation.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pills/06/examine-build.xml b/pills/06/examine-build.xml index 6aaa24c..3d88ea0 100644 --- a/pills/06/examine-build.xml +++ b/pills/06/examine-build.xml @@ -1,4 +1,4 @@ -$ nix show-derivation /nix/store/qyfrcd53wmc0v22ymhhd5r6sz5xmdc8a-myname.drv +$ nix derivation show /nix/store/qyfrcd53wmc0v22ymhhd5r6sz5xmdc8a-myname.drv { "/nix/store/qyfrcd53wmc0v22ymhhd5r6sz5xmdc8a-myname.drv": { "outputs": { diff --git a/pills/06/show-derivation.xml b/pills/06/show-derivation.xml index a90e016..31245a8 100644 --- a/pills/06/show-derivation.xml +++ b/pills/06/show-derivation.xml @@ -1,4 +1,4 @@ -$ nix show-derivation /nix/store/z3hhlxbckx4g3n9sw91nnvlkjvyw754p-myname.drv +$ nix derivation show /nix/store/z3hhlxbckx4g3n9sw91nnvlkjvyw754p-myname.drv { "/nix/store/z3hhlxbckx4g3n9sw91nnvlkjvyw754p-myname.drv": { "outputs": { diff --git a/pills/07/foo.drv.xml b/pills/07/foo.drv.xml index 81036db..f9a5a92 100644 --- a/pills/07/foo.drv.xml +++ b/pills/07/foo.drv.xml @@ -1,4 +1,4 @@ -$ nix show-derivation /nix/store/i76pr1cz0za3i9r6xq518bqqvd2raspw-foo.drv +$ nix derivation show /nix/store/i76pr1cz0za3i9r6xq518bqqvd2raspw-foo.drv { "/nix/store/i76pr1cz0za3i9r6xq518bqqvd2raspw-foo.drv": { "outputs": { diff --git a/pills/18/bar-derivation.xml b/pills/18/bar-derivation.xml index 55d3a60..aeb5217 100644 --- a/pills/18/bar-derivation.xml +++ b/pills/18/bar-derivation.xml @@ -1,4 +1,4 @@ -$ nix show-derivation /nix/store/ymsf5zcqr9wlkkqdjwhqllgwa97rff5i-bar.drv +$ nix derivation show /nix/store/ymsf5zcqr9wlkkqdjwhqllgwa97rff5i-bar.drv { "/nix/store/ymsf5zcqr9wlkkqdjwhqllgwa97rff5i-bar.drv": { "outputs": { diff --git a/pills/18/derivation-simple-content.xml b/pills/18/derivation-simple-content.xml index 9ac8550..9be1bad 100644 --- a/pills/18/derivation-simple-content.xml +++ b/pills/18/derivation-simple-content.xml @@ -1,4 +1,4 @@ -$ nix show-derivation /nix/store/y4h73bmrc9ii5bxg6i7ck6hsf5gqv8ck-foo.drv +$ nix derivation show /nix/store/y4h73bmrc9ii5bxg6i7ck6hsf5gqv8ck-foo.drv { "/nix/store/y4h73bmrc9ii5bxg6i7ck6hsf5gqv8ck-foo.drv": { "outputs": { diff --git a/pills/19/hello-derivation.xml b/pills/19/hello-derivation.xml index 4152ecf..e0eddc0 100644 --- a/pills/19/hello-derivation.xml +++ b/pills/19/hello-derivation.xml @@ -1,4 +1,4 @@ -$ nix show-derivation $(nix-instantiate hello.nix) +$ nix derivation show $(nix-instantiate hello.nix) warning: you did not specify '--add-root'; the result might be removed by the garbage collector { "/nix/store/abwj50lycl0m515yblnrvwyydlhhqvj2-hello.drv": {