Skip to content

apeyroux/tresorit.nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Problem with the binary

For the moment it doesn't work without tinkering on nix because the binary tresorit is trying to write in its current directory (and nix store is RO not RW !). Currently, there are no options to change this:

strace tresorit :

stat("/nix/store/z0z06wrd0wsymlngd2jslzgs0n62yv8h-tresorit-3.5.1006.2650/bin/Logs/", 0x7ffea6f0e5b0) = -1 ENOENT (No such file or directory)
mkdir("/nix/store/z0z06wrd0wsymlngd2jslzgs0n62yv8h-tresorit-3.5.1006.2650/bin/Logs/", 0777) = -1 EROFS (Read-only file system)
stat("/nix/store/z0z06wrd0wsymlngd2jslzgs0n62yv8h-tresorit-3.5.1006.2650/bin/Logs/", 0x7ffea6f0e5b0) = -1 ENOENT (No such file or directory)
mkdir("/nix/store/z0z06wrd0wsymlngd2jslzgs0n62yv8h-tresorit-3.5.1006.2650/bin/Logs/", 0777) = -1 EROFS (Read-only file system)

or

openat(AT_FDCWD, "/nix/store/0qrdl9f7qpk4vfk3j854vri941jccw1z-tresorit-3.5.698.875/bin/running.pid", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = -1 EROFS (Read-only file system)

Bypass with "impure" method

nix run -f release.nix -c install-tresorit-impure

This install tresorit in your $HOME/.local/tresorit (as does the tresorit installation script)

or

nix-env -if release.nix -A impure

and you can use

tresorit-impure
# or
tresorit-cli-impure

About

Use Tresorit in a Nix/NixOS environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages