diff options
Diffstat (limited to 'src/content/pastebins/2018/07/25')
-rw-r--r-- | src/content/pastebins/2018/07/25/nix-exps.adoc | 21 | ||||
-rw-r--r-- | src/content/pastebins/2018/07/25/nix-showdrv.adoc | 21 |
2 files changed, 8 insertions, 34 deletions
diff --git a/src/content/pastebins/2018/07/25/nix-exps.adoc b/src/content/pastebins/2018/07/25/nix-exps.adoc index 23d75b6..824be69 100644 --- a/src/content/pastebins/2018/07/25/nix-exps.adoc +++ b/src/content/pastebins/2018/07/25/nix-exps.adoc @@ -1,20 +1,7 @@ ---- += Nix exps -title: Nix exps - -date: 2018-07-25 - -layout: post - -lang: en - -eu_categories: nix - -ref: nix-exps - ---- - -```nix +[source,nix] +---- let pkgsOriginal = import <nixpkgs> {}; pkgsSrc = pkgsOriginal.fetchzip { @@ -55,4 +42,4 @@ in rec { ''; }; } -``` +---- diff --git a/src/content/pastebins/2018/07/25/nix-showdrv.adoc b/src/content/pastebins/2018/07/25/nix-showdrv.adoc index 813965d..d7a2d9a 100644 --- a/src/content/pastebins/2018/07/25/nix-showdrv.adoc +++ b/src/content/pastebins/2018/07/25/nix-showdrv.adoc @@ -1,20 +1,7 @@ ---- += nix show-derivation sample output -title: nix show-derivation sample output - -date: 2018-07-25 - -layout: post - -lang: en - -eu_categories: nix - -ref: nix-show-derivation-sample-output - ---- - -```nix +[source,nix] +---- $ nix show-derivation /nix/store/zzz9cl2ly0mb2njr7vwa5528fxmn29m8-combofont-0.2.drv { "/nix/store/zzz9cl2ly0mb2njr7vwa5528fxmn29m8-combofont-0.2.drv": { @@ -83,4 +70,4 @@ $ nix show-derivation /nix/store/zzz9cl2ly0mb2njr7vwa5528fxmn29m8-combofont-0.2. } } } -``` +---- |