nix-book/source/shell-recipes/shell-with-git-nix-pkg/shell.nix
2023-06-13 20:33:24 +01:00

10 lines
342 B
Nix

with (import <nixpkgs> {});
let
hello = import (builtins.fetchGit {
url = "https://codeberg.org/mhwombat/hello-nix";
rev = "aa2c87f8b89578b069b09fdb2be30a0c9d8a77d8";
});
in
mkShell {
buildInputs = [ hello ];
}