Skip to content

Instantly share code, notes, and snippets.

View runeksvendsen's full-sized avatar

Rune K. Svendsen runeksvendsen

View GitHub Profile
This file has been truncated, but you can view the full file.
$ nix-shell -p nix-info --run "nix-info -m"
warning: ignoring untrusted substituter 'https://cache.iog.io', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
these 1237 derivations will be built:
/nix/store/7z5h4jq609vsb39jyrppk5jkdnvsdif1-sh.drv
/nix/store/bral2alrxk3nkq0i7hhbhszddbq8qyxq-cpio.drv
/nix/store/q8sgwlhjfpvdh6xhqw710a40iiaqix0y-bootstrap-tools.cpio.bz2.drv
/nix/store/wi641mb5a90wkmfanmpl248wq36mfx6j-mkdir.drv
/nix/store/wsflkgnjr7xkv16a5xb4lwyz96hxjq8d-bzip2.drv
/nix/store/wn8fif83s2lwxl8n4s7916c3pj8lli6l-bootstrap-tools.drv
2023-04-04 15:26:06.7220000 [client] INFO Finding haskell-language-server
2023-04-04 15:26:06.7230000 [client] INFO Searching for server executables haskell-language-server-wrapper,haskell-language-server in $PATH
2023-04-04 15:26:06.7230000 [client] INFO $PATH environment variable: /nix/store/p70ch6bijbziw7kc29v1z7kd3gwh8jvb-glib-2.74.5-bin/bin:/nix/store/vq21qf550xa9di4mr0y9px5qsmww6zr2-bash-interactive-5.1-p16/bin:/nix/store/8735hsggcq5wzdvag2g5z7c26wsil0j2-ghc-8.10.7-with-packages/bin:/nix/store/zd9y1bf9ppa5q1f8cdpf1cq5s717yvls-constraints-extras-0.4.0.0/bin:/nix/store/ihanigybyzam3l8ckcvd89damf09c8xb-build-tools-wrapper/bin:/nix/store/nq1ann8ipwclk6zyxw0yrf6i12v47v25-patchelf-0.13/bin:/nix/store/d73n3asch2cw3ylqi0y6jqqqa9qfk6fc-gcc-wrapper-10.3.0/bin:/nix/store/l2iiwsrrscp3k15bl5bwmk07jjnb4zxs-gcc-10.3.0/bin:/nix/store/wxfya1zf68wz79p1cvf7q1nm7nzb8g4d-glibc-2.32-54-bin/bin:/nix/store/y41s1vcn0irn9ahn9wh62yx2cygs7qjj-coreutils-8.32/bin:/nix/store/slirrfwqd9zz2mvv32096h4s06r1y55q-binutils-wrapper-2.35.2/bi
++ for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"}
++ _eval bintoolsWrapper_addLDVars /nix/store/rvg5a5nwa7cihpmbzlwzh931w3g4q108-compress-man-pages.sh
++ declare -F bintoolsWrapper_addLDVars
++ bintoolsWrapper_addLDVars /nix/store/rvg5a5nwa7cihpmbzlwzh931w3g4q108-compress-man-pages.sh
++ local role_post
++ getHostRoleEnvHook
++ getRole 0
++ case $1 in
++ role_post=
++ [[ -d /nix/store/rvg5a5nwa7cihpmbzlwzh931w3g4q108-compress-man-pages.sh/lib64 ]]
{ pkgs ? import <nixpkgs> {} }:
{
secp256k1-bench = pkgs.secp256k1.overrideAttrs (drv: {
installPhase = (drv.installPhase or "mkdir $out; make install;") + ''
mkdir $out/bin
cp -a .libs $out/bin/
cp bench_* $out/bin/
'';
# https://github.com/diddledani/macOS-Linux-VM-with-Rosetta#setting-up-rosetta
# 1. Run `sudo mkdir /var/run/rosetta`
# 2. Run `sudo mount -t virtiofs ROSETTA /var/run/rosetta`
# 3. Add the snippet below to /etc/nixos/configuration.nix
boot.binfmt.registrations.rosetta = {
interpreter = /var/run/rosetta/rosetta;
magicOrExtension = ''\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00'';
mask = ''\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff'';
This file has been truncated, but you can view the full file.
2021-09-20T13:51:50.9957952Z Creating cardano-bridge-playground_cardano-node_1 ...
2021-09-20T13:51:53.8273752Z Creating cardano-bridge-playground_cardano-node_1 ... done
2021-09-20T13:51:53.8357130Z Creating cardano-wallet-serve ...
2021-09-20T13:51:54.4128808Z Creating cardano-wallet-serve ... done
2021-09-20T13:51:54.4201364Z Creating cardano-bridge-playground_test-runner_1 ...
2021-09-20T13:51:55.0056957Z Creating cardano-bridge-playground_test-runner_1 ... done
2021-09-20T13:51:55.0142553Z Attaching to cardano-bridge-playground_cardano-node_1, cardano-wallet-serve, cardano-bridge-playground_test-runner_1
2021-09-20T13:51:55.0144589Z cardano-node_1 | /cardano-node/example /cardano-node
2021-09-20T13:51:55.0146238Z cardano-node_1 | =====================================================================
2021-09-20T13:51:55.0147511Z cardano-node_1 | Generated genesis keys and genesis files:
haskell-language-server version: 1.4.0.0 (GHC: 8.10.4) (PATH: /Users/rune/Library/Application Support/Code/User/globalStorage/haskell.haskell/haskell-language-server-1.4.0-darwin-8.10.4) (GIT hash: 253547816ee216c53ee7dacc0ad3cac43e863d30)
Starting (haskell-language-server)LSP server...
with arguments: GhcideArguments {argsCommand = LSP, argsCwd = Nothing, argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = True, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False}
with plugins: [PluginId "pragmas",PluginId "floskell",PluginId "fourmolu",PluginId "tactics",PluginId "ormolu",PluginId "stylish-haskell",PluginId "retrie",PluginId "brittany",PluginId "callHierarchy",PluginId "class",PluginId "haddockComments",PluginId "eval",PluginId "importLens",PluginId "refineImports",PluginId "moduleName",PluginId "hlint",PluginId "splice",PluginId "ghcide-hover-and-symbols",PluginId "ghcide-code-actions-imports-exports",PluginId "ghcide-code-actions-type-signature
➜ core git:(master) ✗ /Users/rune/Library/Application\ Support/Code/User/globalStorage/haskell.haskell/haskell-language-server-1.4.0-darwin-8.10.4 --debug .
haskell-language-server version: 1.4.0.0 (GHC: 8.10.4) (PATH: /Users/rune/Library/Application Support/Code/User/globalStorage/haskell.haskell/haskell-language-server-1.4.0-darwin-8.10.4) (GIT hash: 253547816ee216c53ee7dacc0ad3cac43e863d30)
ghcide setup tester in /Users/rune/Obsidian/iohk/code/os-voltaire-fork/cardano-wallet/lib/core.
Report bugs at https://github.com/haskell/haskell-language-server/issues
Step 1/4: Finding files to test in /Users/rune/Obsidian/iohk/code/os-voltaire-fork/cardano-wallet/lib/core
Found 162 files
Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
[130] rsvendsen@build-ny-linux-0> nix-build --show-trace release.nix -A x86_64-linux 2>&1 |tee build-x86_64-linux.log
[130] rsvendsen@build-ny-linux-0> rm build-x86_64-linux.log ~/code/reflex-platform
rsvendsen@build-ny-linux-0> nix-build --show-trace release.nix -A x86_64-linux 2>&1 |tee build-x86_64-linux.log
^[these derivations will be built:
/nix/store/3ksh4dc65ha2j94zvcl9n4zan7ydll74-old-locale-1.0.0.7.drv
/nix/store/8gx78glk7yyz95iw246bj9lracw92zhi-regex-base-0.94.0.0.drv
/nix/store/7asznnayvk0hsljwmgjrq5iy3r8kp3qb-regex-posix-0.96.0.0.drv
/nix/store/s95ywm2840i831smwc8l3k4wa2s4cgac-random-1.1.drv
/nix/store/wgvlgya9b5865ffw3gknprixfr735fhf-xml-1.3.14.drv
/nix/store/008qxpcz58969s2s1h061ahkkcirhc53-test-framework-0.8.2.0.drv
[rsvendsen@build-ny-linux-0:~/code/reflex-platform]$ nix-build --show-trace release.nix -A x86_64-linux 2>&1 |tee build-x86_64-linux.log
these derivations will be built:
/nix/store/3ksh4dc65ha2j94zvcl9n4zan7ydll74-old-locale-1.0.0.7.drv
/nix/store/qhpj08sjyffk1nz00k33n5mcyyfrpgd9-colour-2.3.5.drv
/nix/store/llzp3crrm7sv1k9vqbz911h8rdy5a3c8-ansi-terminal-0.10.3.drv
/nix/store/6dracv7lyzrldscnrdg58vikwapkcvbs-ansi-wl-pprint-0.6.9.drv
/nix/store/8gx78glk7yyz95iw246bj9lracw92zhi-regex-base-0.94.0.0.drv
/nix/store/7asznnayvk0hsljwmgjrq5iy3r8kp3qb-regex-posix-0.96.0.0.drv
/nix/store/ac7w89p88yw3kdib9z9x6gdcbzn5arsj-hostname-1.0.drv
/nix/store/s95ywm2840i831smwc8l3k4wa2s4cgac-random-1.1.drv