diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-08 15:24:41 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-08 15:24:41 +0200 |
commit | b4a0c6772bd91f7745a775d273c6120a5b394a33 (patch) | |
tree | c8a389ce176e0baffd5ec8cfc86edd0be327935f /overlays/smartprom/default.nix | |
parent | 5bf6cf54bee7413af45ab105164226141833efe4 (diff) | |
download | nixos-b4a0c6772bd91f7745a775d273c6120a5b394a33.tar nixos-b4a0c6772bd91f7745a775d273c6120a5b394a33.tar.gz nixos-b4a0c6772bd91f7745a775d273c6120a5b394a33.tar.bz2 nixos-b4a0c6772bd91f7745a775d273c6120a5b394a33.tar.xz nixos-b4a0c6772bd91f7745a775d273c6120a5b394a33.zip |
...
Diffstat (limited to 'overlays/smartprom/default.nix')
-rw-r--r-- | overlays/smartprom/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/overlays/smartprom/default.nix b/overlays/smartprom/default.nix index 57ab6f11..35e94608 100644 --- a/overlays/smartprom/default.nix +++ b/overlays/smartprom/default.nix | |||
@@ -10,7 +10,9 @@ | |||
10 | cp -r ${sources.smartprom.src}/. $out | 10 | cp -r ${sources.smartprom.src}/. $out |
11 | 11 | ||
12 | mkdir $out/smartprom | 12 | mkdir $out/smartprom |
13 | mv $out/megaraid.py $out/smartprom | ||
13 | mv $out/smartprom.py $out/smartprom/__main__.py | 14 | mv $out/smartprom.py $out/smartprom/__main__.py |
15 | sed -ri 's/import megaraid/from . import megaraid/' $out/smartprom/__main__.py | ||
14 | echo >> $out/smartprom/__init__.py | 16 | echo >> $out/smartprom/__init__.py |
15 | 17 | ||
16 | cp ${./pyproject.toml} $out/pyproject.toml | 18 | cp ${./pyproject.toml} $out/pyproject.toml |