Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ndauten on github.
  • I am ndd (https://keybase.io/ndd) on keybase.
  • I have a public key ASAXnHVg6mrnEBU6N0FFjtSQpHJ2Vgzh0vMM1-s-fBbimwo

To claim this, I am signing this object:

@ndauten
ndauten / create-highsierra-iso.sh
Created October 31, 2017 02:43
This gist details how to generate a bootable High Sierra installer ISO image. It solves a few differences from the Sierra install. It assumes the Install downloaded into the directory with the script.
src=./Install\ macOS\ High\ Sierra.app
hdiutil attach \
./Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg \
-noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/HighSierra.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -nobrowse -mountpoint \
/Volumes/install_build
let
pkgs = import <nixpkgs> {};
stdenv = pkgs.stdenv;
in with pkgs; {
myProject = stdenv.mkDerivation {
name = "rmarkdown-pdf-ndd";
version = "1";
src = if pkgs.lib.inNixShell then null else nix;
buildInputs = with rPackages; [