Skip to content

yannickloth/tresorit.nix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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 rw). Currently, there are no options to change this:

strace tresorit :

mkdir("/nix/store/0qrdl9f7qpk4vfk3j854vri941jccw1z-tresorit-3.5.698.875/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-impure-tresorit

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

Build

nix-build

Uninstall

nix-env -e tresorit
nix-env -e tresorit-impure
rm -Rf ~/.local/tresorit

About

Use Tresorit in a Nix/NixOS environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 100.0%