Initial commit

This commit is contained in:
2024-03-17 17:33:12 +01:00
commit c56d09816f
24 changed files with 564 additions and 0 deletions

16
hello-versions/shell.nix Normal file
View File

@ -0,0 +1,16 @@
# https://lazamar.co.uk/nix-versions/
# The following will:
# - load <nixpkgs> to get the pkgs.mkShell lambda
# - load the given tarball (zsh 5.4.2 in channel unstable)
# - start a shell with this old version of zsh
{
oldpkgs ? (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/473b58f20e491312a03c9c1578c89116e39a1d50.tar.gz") {}),
pkgs ? (import <nixpkgs> {})
}:
pkgs.mkShell {
packages = [
oldpkgs.zsh
];
}