Fix cura hack.
This commit is contained in:
		
							parent
							
								
									7ee95d870d
								
							
						
					
					
						commit
						8933ec7177
					
				@ -5,6 +5,8 @@ let curaWorkaround = with pkgs; stdenv.mkDerivation {
 | 
				
			|||||||
  # https://github.com/NixOS/nixpkgs/issues/59901
 | 
					  # https://github.com/NixOS/nixpkgs/issues/59901
 | 
				
			||||||
  buildPhase = ''
 | 
					  buildPhase = ''
 | 
				
			||||||
    makeWrapper ${cura}/bin/cura $out/bin/cura --set OMP_NUM_THREADS 1
 | 
					    makeWrapper ${cura}/bin/cura $out/bin/cura --set OMP_NUM_THREADS 1
 | 
				
			||||||
 | 
					    mkdir $out/nix-support
 | 
				
			||||||
 | 
					    cp ${cura}/nix-support/propagated-user-env-packages $out/nix-support
 | 
				
			||||||
  '';
 | 
					  '';
 | 
				
			||||||
  phases = [ "buildPhase" ];
 | 
					  phases = [ "buildPhase" ];
 | 
				
			||||||
  nativeBuildInputs = [ makeWrapper ];
 | 
					  nativeBuildInputs = [ makeWrapper ];
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user