diff options
author | William Carroll <wpcarro@gmail.com> | 2021-12-27T13·38-0400 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-27T14·01+0000 |
commit | bb72d16cce4b2cee6a31f0aa3fdcf5cad8890de9 (patch) | |
tree | e16feb33c6107ff60ccf10bb856cd837c5806358 /users/wpcarro/website/blog/content/english/lets-learn-nix-tutorial-reproducibility.md | |
parent | 21e1ae3e69a0d019c5792ebb463877bd98c1d161 (diff) |
refactor(wpcarro/blog): Prefer depot.web.blog r/3465
Hugo is a bit too heavyweight for my taste. Change-Id: I331bc5898bd40f1a03bbde8ad69fe3cc9f72c18b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4704 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/website/blog/content/english/lets-learn-nix-tutorial-reproducibility.md')
-rw-r--r-- | users/wpcarro/website/blog/content/english/lets-learn-nix-tutorial-reproducibility.md | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/users/wpcarro/website/blog/content/english/lets-learn-nix-tutorial-reproducibility.md b/users/wpcarro/website/blog/content/english/lets-learn-nix-tutorial-reproducibility.md deleted file mode 100644 index c80892164dbe..000000000000 --- a/users/wpcarro/website/blog/content/english/lets-learn-nix-tutorial-reproducibility.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: "Lets Learn Nix: Tutorial Reproducibility" -date: 2020-03-17T18:34:58Z -draft: true ---- - -## Install Nix - -Link to nixos page. - -## The rest - -Start with this... - -```shell -$ mkdir ~/lets-learn-nix -$ cd ~/lets-learn-nix -``` - -...done. Copy the following and paste it into a file name `shell.nix`. - -```nix -# file: shell.nix -let - pkgs = import (builtins.fetchGit { - url = "https://github.com/NixOS/nixpkgs-channels"; - ref = "refs/heads/nixos-19.09"; - }) {} -in pkgs.mkShell { - buildInputs = with pkgs; [ - git - ]; - NIX_PATH = "nixpkgs=${pkgs}"; -}; -``` - -...then... - -```shell -$ nix-shell -``` |