Created
May 26, 2018 20:28
-
-
Save cleverca22/80db5270c25cd25810bfebc55fe2ad21 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
[clever@amd-nixos:~/iohk/machotool]$ nix-shell default.nix -A machotool.env | |
[nix-shell:~/iohk/machotool]$ runhaskell Setup.hs configure | |
Configuring machotool-0.1.0.0... | |
[nix-shell:~/iohk/machotool]$ runhaskell Setup.hs repl | |
Preprocessing executable 'machotool' for machotool-0.1.0.0.. | |
GHCi, version 8.2.2: http://www.haskell.org/ghc/ :? for help | |
Loaded GHCi configuration from /home/clever/.ghci | |
[1 of 2] Compiling Data.Macho ( macho-0.22/src/Data/Macho.hs, interpreted ) | |
[2 of 2] Compiling Main ( src/Main.hs, interpreted ) | |
Ok, two modules loaded. | |
λ> :q | |
Leaving GHCi. | |
[nix-shell:~/iohk/machotool]$ exit | |
exit | |
[clever@amd-nixos:~/iohk/machotool]$ nix-build default.nix -A machotool | |
these derivations will be built: | |
/nix/store/fpahq0fv80xhb0m15fwh5fd629s2ffq3-machotool-0.1.0.0.drv | |
building '/nix/store/fpahq0fv80xhb0m15fwh5fd629s2ffq3-machotool-0.1.0.0.drv'... | |
... | |
patching script interpreter paths in /nix/store/dcv1mqxdx3xn6ghz8azwhh7wyfdgsym9-machotool-0.1.0.0-doc | |
checking for references to /build in /nix/store/dcv1mqxdx3xn6ghz8azwhh7wyfdgsym9-machotool-0.1.0.0-doc... | |
/nix/store/a1qijsm4zsb026wvsbg162c35iy14qbr-machotool-0.1.0.0 | |
[clever@amd-nixos:~/iohk/machotool]$ ls -lh result/bin/ | |
total 1.6M | |
-r-xr-xr-x 1 root root 1.5M Dec 31 1969 machotool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment