about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@tum.de>2025-08-27 15:43:09 +0000
committerTheofilos Augoustis <theofilos.augoustis@tum.de>2025-08-27 15:43:09 +0000
commit09fcdac810239b6b788faee587350e209d77326f (patch)
tree460d083496cf8da431f22d0d537eb27c7ce15a8e
parent979d793cdeb3ce4d2a48d219ac3f08d4e880a80c (diff)
downloadfocaccia-ta/uv-migrate.tar.gz
focaccia-ta/uv-migrate.zip
Add support for editable miasm builds ta/uv-migrate
-rw-r--r--flake.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 074197d..836a49e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -68,7 +68,7 @@
 			# Use environment variable
 			root = "$REPO_ROOT";
 
-			members = [ "focaccia" ];
+			members = [ "focaccia" "miasm" ];
 		};
 
 		# Another overlay layer for flake-specific overloads
@@ -88,6 +88,15 @@
 		pyprojectOverridesEditable = self: super: {
 			miasm = super.miasm.overrideAttrs (old: {
 				nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ self.setuptools ];
+
+				src = pkgs.lib.fileset.toSource {
+					root = old.src;
+					fileset = pkgs.lib.fileset.unions [
+						(old.src + "/pyproject.toml")
+						(old.src + "/README.md")
+						(old.src + "/miasm/__init__.py")
+					];
+				};
 			});
 
 			cpuid = super.cpuid.overrideAttrs (old: {