diff options
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 |