Skip to content

Instantly share code, notes, and snippets.

@boomshroom
Created March 15, 2018 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boomshroom/c9611e2502b83ba3515dbe58f664b6af to your computer and use it in GitHub Desktop.
Save boomshroom/c9611e2502b83ba3515dbe58f664b6af to your computer and use it in GitHub Desktop.
let nix = (import <nixpkgs> {
crossSystem = (import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform;
}).nixUnstable;
in
(import <nixpkgs> {}).callPackage <nixpkgs/nixos/lib/make-system-tarball.nix> {
storeContents = [ { object = nix; symlink = "/nix"; }];
contents = [];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment