add shell.nix in documents
This commit is contained in:
parent
4db6bae65a
commit
058a1b1ae7
|
@ -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> {} }:
|
||||
|
|
5
src/posts/rss-gen/shell.nix
Normal file
5
src/posts/rss-gen/shell.nix
Normal 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 ];
|
||||
}
|
Loading…
Reference in a new issue