aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-05-15 04:02:40 +0300
committertoufic ar <contact@toufy.me>2026-05-15 04:02:40 +0300
commit34f5f063daee0779d21c8306e3897e52654a31aa (patch)
tree234732bac19456164afc3e0c9f4b9bf5945332e1 /flake.nix
parent4fdb4a98daa1836bad36b4ab223878abefa78219 (diff)
downloadmakeshiftci-34f5f063daee0779d21c8306e3897e52654a31aa.tar.gz
makeshiftci-34f5f063daee0779d21c8306e3897e52654a31aa.zip
flake.nix: modify webUI installPhase
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index da01eed..42790d9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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,