nix-book/source/shell-recipes/0150-shell-with-git-nix-pkg.nix
Amy de Buitléir 78fd4cc737 initial commit
2023-06-11 20:42:36 +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 ];
}