Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 18, 2021 00:09
Show Gist options
  • Save r-rmcgibbo/cd68ee34965f810ef86eaf33a2e52488 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/cd68ee34965f810ef86eaf33a2e52488 to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: 15 seconds | https://github.com/NixOS/nixpkgs/pull/116676
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/6bli7hqbfi6d97g93f8p8sf3zg0rs33r-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
go build -o localtimed localtimed.go
m4 -DBINDIR="/nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07/bin" \
-DPREFIX="/nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07" \
-DUSER="localtimed" \
localtime.service.in > localtime.service
m4 -DBINDIR="/nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07/bin" \
-DPREFIX="/nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07" \
-DUSER="localtimed" \
polkit.rules.in > polkit.rules
@nix { "action": "setPhase", "phase": "installPhase" }
installing
install -Dm755 localtimed /nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07/bin/localtimed
install -Dm640 polkit.rules /nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07/share/polkit-1/rules.d/40-localtime.rules
install -Dm644 localtime.service /nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07/lib/systemd/system/localtime.service
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07
shrinking /nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07/bin/localtimed
strip is /nix/store/f73f3xbwv4zafyms2gi3djfgb9h3791b-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07/lib /nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07/bin
patching script interpreter paths in /nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07
checking for references to /build/ in /nix/store/n4cgd889gjqjn67kfyjq21kbykj69495-localtime-2017-11-07...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment