add shell.nix in documents

This commit is contained in:
Yann Esposito (Yogsototh) 2019-09-30 21:17:55 +02:00
parent 4db6bae65a
commit 058a1b1ae7
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
2 changed files with 6 additions and 1 deletions

View file

@ -224,7 +224,7 @@ For example my script uses =date= from GNU coreutils and not the =BSD= date
from my OS, which makes the script more portable.
This also take care of using the URI perl package.
Along my script I have a =shell.nix= file containing:
Along my script I have a [[file:rss-gen/shell.nix][=shell.nix=]] file containing:
#+begin_src nix
# { pkgs ? import <nixpkgs> {} }:

View file

@ -0,0 +1,5 @@
# { pkgs ? import <nixpkgs> {} }:
{ pkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/19.09-beta.tar.gz) {} }:
pkgs.mkShell {
buildInputs = [ pkgs.coreutils pkgs.html-xml-utils pkgs.zsh ];
}