File tree Expand file tree Collapse file tree 1 file changed +3
-31
lines changed Expand file tree Collapse file tree 1 file changed +3
-31
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,18 @@ pip install beku-stackabletech
19
19
pip install git+https://github.com/stackabletech/beku.py.git@master
20
20
```
21
21
22
- Or via Nix:
23
-
24
- <details >
25
- <summary >NixOs</summary >
22
+ Or via NixOS and Nix Shell:
26
23
27
24
``` nix
28
25
{ lib, pkgs, ... }:
29
26
with lib;
30
27
let
31
- beku = (import (pkgs.fetchFromGitHub {
28
+ beku = pkgs.callPackage (pkgs.fetchFromGitHub {
32
29
owner = "stackabletech";
33
30
repo = "beku.py";
34
31
rev = "145e8210f5786b8128e3af43f60b61f065cc2c39";
35
32
hash = "sha256-hLaIY4BE+VIMeKmS3JLOZy87OC2VuQtbX/NCIbQr2p4="; # use lib.fakeHash to find new hashes when upgrading
36
- }) {}).beku ;
33
+ } + "/beku.nix" ) {};
37
34
in
38
35
{
39
36
packages = with pkgs; [
45
42
}
46
43
```
47
44
48
- </details >
49
-
50
- <details >
51
- <summary >Nix Shell</summary >
52
-
53
- ``` nix
54
- let
55
- beku = pkgs.callPackage (pkgs.fetchFromGitHub {
56
- owner = "stackabletech";
57
- repo = "beku.py";
58
- rev = "145e8210f5786b8128e3af43f60b61f065cc2c39";
59
- hash = "sha256-hLaIY4BE+VIMeKmS3JLOZy87OC2VuQtbX/NCIbQr2p4="; # use lib.fakeHash to find new hashes when upgrading
60
- } + "/beku.nix") {};
61
- in pkgs.mkShell {
62
- buildInputs = with pkgs; [
63
- beku
64
- # ...
65
- ];
66
-
67
- # ...
68
- }
69
- ```
70
-
71
- </details >
72
-
73
45
## Usage
74
46
75
47
``` sh
You can’t perform that action at this time.
0 commit comments