There is a package mate.caja: nixpkgs/default.nix at 9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8 · NixOS/nixpkgs · GitHub
It works fine.
There is a package mate.caja-with-extensions: nixpkgs/default.nix at 9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8 · NixOS/nixpkgs · GitHub
He uses mate.caja and adds extensions to it. But there is a problem:
- I can run it globally (> caja in terminal) - this is OK
- Extensions work in it. - this OK
- But it does not create a .desktop file and other files that it should have - this BAD
Whyyy?
I have tried adding the following in mate.caja:
installPhase = ‘’
mkdir -p $out/bin
makeWrapper ./src/caja $out/bin/caja
–set CAJA_EXTENSION_DIRS ${lib.concatMapStringsSep “:” (x: “${x.outPath}/lib/caja/extensions-2.0”) extensions}
make install
‘’;
It builds without error. I get .desktop and associations, but caja still has no extensions.
nix-shell -p nix-info --run “nix-info -m”
- system:
"x86_64-linux"
- host os:
Linux 5.15.97, NixOS, 22.11 (Raccoon), 22.11.2999.a7cc81913bb
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.11.1
- channels(q):
"home-manager-22.11.tar.gz"
- nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos