diff options
| author | toufic ar <contact@toufy.me> | 2026-05-15 04:02:40 +0300 |
|---|---|---|
| committer | toufic ar <contact@toufy.me> | 2026-05-15 04:02:40 +0300 |
| commit | 34f5f063daee0779d21c8306e3897e52654a31aa (patch) | |
| tree | 234732bac19456164afc3e0c9f4b9bf5945332e1 | |
| parent | 4fdb4a98daa1836bad36b4ab223878abefa78219 (diff) | |
| download | makeshiftci-34f5f063daee0779d21c8306e3897e52654a31aa.tar.gz makeshiftci-34f5f063daee0779d21c8306e3897e52654a31aa.zip | |
flake.nix: modify webUI installPhase
| -rw-r--r-- | flake.nix | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -33,8 +33,15 @@ buildInputs = [pkgs.makeWrapper]; postBuild = "wrapProgram $out/bin/msci --prefix PATH : $out/bin"; }; - msci-web = - python.pkgs.buildPythonPackage msci-web-attrs; + msci-web = python.pkgs.buildPythonPackage (msci-web-attrs + // { + installPhase = '' + runHook preInstall + mkdir -p $out/${python.sitePackages} + cp -r ${./web} $out/${python.sitePackages}/web + runHook postInstall + ''; + }); }; nixosModules.default = { lib, |
