Fix restricted mode when installing in non-canonical data dir
Fix restricted mode when installing in non-canonical data dir

ehmry/nix,layus/nix,pikajude/nix,rycee/nix,pikajude/nix,ehmry/nix,ehmry/nix,dtzWill/nix,NixOS/nix,layus/nix,shlevy/nix,rycee/nix,dezgeg/nix,dtzWill/nix,peti/nix,zimbatm/nix,vcunat/nix,NixOS/nix,dtzWill/nix,peti/nix,NixOS/nix,dtzWill/nix,shlevy/nix,shlevy/nix,NixOS/nix,dtzWill/nix,NixOS/nix,layus/nix,zimbatm/nix,ehmry/nix,dezgeg/nix,dezgeg/nix,vcunat/nix,peti/nix,rycee/nix,rycee/nix,ehmry/nix,peti/nix,dezgeg/nix,peti/nix,zimbatm/nix,shlevy/nix,layus/nix,pikajude/nix,vcunat/nix,dezgeg/nix,vcunat/nix,layus/nix,rycee/nix,zimbatm/nix,ehmry/nix,shlevy/nix