mirror of
https://github.com/ihaveamac/ninfs.git
synced 2025-06-18 17:05:32 -04:00
ninfs.nix: try to set PYTHONPATH including fusepy except on darwin
This commit is contained in:
parent
bdeedb3002
commit
0cec229e89
@ -14,10 +14,12 @@ buildPythonApplication rec {
|
||||
pypng
|
||||
tkinter
|
||||
setuptools # missing from requirements.txt
|
||||
fusepy
|
||||
#fusepy # this gets added to PYTHONPATH manually in makeWrapperArgs
|
||||
haccrypto
|
||||
];
|
||||
|
||||
makeWrapperArgs = lib.optional (!stdenv.isDarwin) [ "--prefix PYTHONPATH : ${fusepy}/${fusepy.pythonModule.sitePackages}" ];
|
||||
|
||||
# ninfs includes its own copy of fusepy mainly for Windows support and fuse-t on macOS.
|
||||
# This isn't needed when running on Linux, and on macOS, macFUSE is required anyway.
|
||||
patchPhase = lib.optionalString (!stdenv.isDarwin) ''
|
||||
@ -29,7 +31,6 @@ buildPythonApplication rec {
|
||||
homepage = "https://github.com/ihaveamac/ninfs";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
broken = !stdenv.isDarwin;
|
||||
mainProgram = "ninfs";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user