NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.02k stars 14.03k forks source link

Fusion 360 through wine #171182

Open yo-boy opened 2 years ago

yo-boy commented 2 years ago

Project description The goal is to package Autodesk fusion 360 for use, since a native linux version is not available wine can be used, a successful effort for most mainstream distributions is available here: https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux through an installation script.

Metadata

homepage URL: https://www.autodesk.com/products/fusion-360/overview
source URL: 
license: unfree
platforms: linux
emmanuelrosa commented 2 years ago

Just letting you know that in the past proposals to add Windows applications to Nixpkgs have been rejected.

Of course, that doesn't mean you can't package Fusion 360. A number of approches have been developed and are discussed here.

Based on the link you provided, the most similar Nix-based approach is wrapWine.

One tricky aspect will be dealing with the URL to download the application. If you can't provide a url that you can use with fetchurl, then you can use requireFile, which makes it possible to manually download the installer and then shove it into the Nix store so that your package can find it. Here's an example of how to use it: https://github.com/emmanuelrosa/erosanix/blob/master/pkgs/amazon-kindle/default.nix#L22

crabdancing commented 1 year ago

My partner is stuck using Fusion360 for her mechanical engineering workflow, and it's super brittle and unreliable to get it working on conventional Linux distros. It'd be wonderful if NixOS would eventually have a reliable package for getting it working -- or maybe at least something in the NUR? The sort of finicky exact-settings exact-package stuff is what Nix is great at.

And also, I think it's good for the ecosystem too, because the only thing OSes like Windows have to keep them around is binary compatibility. The more compatible things are with OSes like NixOS, the more sane the market can become. :)

So, anyway, seconded.