-
-
Save boomshroom/53270c80a69fd0a98c3aed953536f550 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"; | |
}).overrideAttrs (old: { doCheck = false; }); | |
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