mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-05 13:35:00 +08:00
11 lines
387 B
Nix
11 lines
387 B
Nix
with (import <nixpkgs> {});
|
|
let
|
|
hello = (builtins.getFlake git+https://codeberg.org/mhwombat/hello-flake).packages.${builtins.currentSystem}.default;
|
|
# For older flakes, you might need an expression like this...
|
|
# hello = (builtins.getFlake git+https://codeberg.org/mhwombat/hello-flake).defaultPackage.${builtins.currentSystem};
|
|
in
|
|
mkShell {
|
|
buildInputs = [
|
|
hello
|
|
];
|
|
}
|