nix-book/source/shell-recipes/0250-shell-with-flake-rev.nix
Amy de Buitléir 78fd4cc737 initial commit
2023-06-11 20:42:36 +01:00

9 lines
255 B
Nix

with (import <nixpkgs> {});
let
hello = (builtins.getFlake git+https://codeberg.org/mhwombat/hello-flake?ref=main&rev=3aa43dbe7be878dde7b2bdcbe992fe1705da3150).packages.${builtins.currentSystem}.default;
in
mkShell {
buildInputs = [
hello
];
}