Skip to content

Instantly share code, notes, and snippets.

View runeksvendsen's full-sized avatar

Rune K. Svendsen runeksvendsen

View GitHub Profile
/nix/store/v3x38h498gvmc8apq9a7lh01hqx09bxd-archive-sig-1.0.2.0/lib/ghc-9.6.5/lib/x86_64-linux-ghc-9.6.5/archive-sig-1.0.2.0-5kGxyCueero9riaHAbsqeK/Archive/Generic.hi
Declaration for packToFile:
Entry Failed to load interface for ‘Archive’
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
Cannot continue after interface file error
dump-decls: Cannot continue after interface file error
20522b280: created capset 0 of type 2
20522b280: created capset 1 of type 3
20522b280: cap 0: initialised
20522b280: assigned cap 0 to capset 0
20522b280: assigned cap 0 to capset 1
20522b280: cap 1: initialised
20522b280: assigned cap 1 to capset 0
20522b280: assigned cap 1 to capset 1
20522b280: cap 2: initialised
20522b280: assigned cap 2 to capset 0
@runeksvendsen
runeksvendsen / gist:2bb0c57285a9ead73d3352d3edae612a
Created January 14, 2025 13:50
cabal run -fdebug test:testmthread -- +RTS -Ds -Dr
$ cabal run -fdebug test:testmthread -- +RTS -Ds -Dr
202ec8280: created capset 0 of type 2
202ec8280: created capset 1 of type 3
202ec8280: cap 0: initialised
202ec8280: assigned cap 0 to capset 0
202ec8280: assigned cap 0 to capset 1
202ec8280: cap 1: initialised
202ec8280: assigned cap 1 to capset 0
202ec8280: assigned cap 1 to capset 1
202ec8280: cap 2: initialised
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