initial commit

This commit is contained in:
Amy de Buitléir 2025-09-04 20:39:15 +01:00
parent d83e18d5e8
commit ad8b58fa44

View file

@ -0,0 +1,21 @@
= Ad hoc environments with access to...
== A top level package from the Nixpkgs/NixOS repo
....
$# ../../../start-shell nix shell nixpkgs#cowsay <<EOL
$ cowsay "moo"
$# EOL
....
== A flake
In this example, we will use a flake defined in a remote git repo.
However, you can use any of the flake reference styles defined in <<#flakeref>>.
....
$# ../../../start-shell nix shell git+https://codeberg.org/mhwombat/hello-flake <<EOL
$ hello-flake
$# EOL
....