mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-02-03 19:48:27 +08:00
restructured repo
This commit is contained in:
parent
bea4055fc9
commit
285f60104b
22 changed files with 167 additions and 313 deletions
10
source/shell-recipes/shell-with-git-nix-pkg/shell.nix
Normal file
10
source/shell-recipes/shell-with-git-nix-pkg/shell.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
with (import <nixpkgs> {});
|
||||
let
|
||||
hello = import (builtins.fetchGit {
|
||||
url = "https://codeberg.org/mhwombat/hello-nix";
|
||||
rev = "aa2c87f8b89578b069b09fdb2be30a0c9d8a77d8";
|
||||
});
|
||||
in
|
||||
mkShell {
|
||||
buildInputs = [ hello ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue