-
-
Save awesomebytes/20c81f7ef31a7fcc4d1426ebf19a7fc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
targetHome = "/home/nao"; | |
nix = pkgsi686Linux.nix.override { | |
storeDir = "${targetHome}/nix/store"; | |
stateDir = "${targetHome}/nix/var"; | |
confDir = "${targetHome}/nix/etc"; }; | |
in | |
callPackage <nixpkgs/nixos/lib/make-system-tarball.nix> { | |
storeContents = [ { object = nix; symlink = "${targetHome}/nix"; }]; | |
contents = []; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment