Skip to content

Instantly share code, notes, and snippets.

@aherrmann
aherrmann / Main.hs
Created October 14, 2021 12:34
GHC in-place updates
module Main where
import Control.Monad.State.Strict
import Control.Monad.ST
import Debug.Trace (trace)
data S = S { property :: String }
main :: IO ()
main = flip evalStateT S { property = trace "read 0" "state 0" } $ do
@aherrmann
aherrmann / scala-test-suite-name-map.json
Last active August 24, 2021 12:18
scala-test-suite-name-map.json
{
"//daml-assistant/scala-daml-project-config:scala-daml-project-config-tests_1": "//daml-assistant/scala-daml-project-config:scala-daml-project-config-tests_test_suite_src_test_scala_com_digitalasset_assistant_ProjectConfigSpec.scala",
"//daml-lf/archive:daml_lf_archive_reader_tests_1": "//daml-lf/archive:daml_lf_archive_reader_tests_test_suite_src_test_scala_com_digitalasset_daml_lf_ProtoTest.scala",
"//daml-lf/archive:daml_lf_archive_reader_tests_2": "//daml-lf/archive:daml_lf_archive_reader_tests_test_suite_src_test_scala_com_digitalasset_daml_lf_archive_DarManifestReaderTest.scala",
"//daml-lf/archive:daml_lf_archive_reader_tests_3": "//daml-lf/archive:daml_lf_archive_reader_tests_test_suite_src_test_scala_com_digitalasset_daml_lf_archive_DarReaderTest.scala",
"//daml-lf/archive:daml_lf_archive_reader_tests_4": "//daml-lf/archive:daml_lf_archive_reader_tests_test_suite_src_test_scala_com_digitalasset_daml_lf_archive_DarSpec.scala",
"//daml-lf/archive:daml_lf_archive_reader_tests_5": "//daml-l
@aherrmann
aherrmann / pnix-shell.sh
Last active August 23, 2020 20:31
Fully persistent Nix shell
# This is free and unencumbered software released into the public domain.
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
# In jurisdictions that recognize copyright laws, the author or authors
# of this software dedicate any and all copyright interest in the
# software to the public domain. We make this dedication for the benefit
@aherrmann
aherrmann / execlog.txt
Created March 12, 2020 11:48
Found module `Bazel.Runfiles'
This file has been truncated, but you can view the full file.
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ghc_wrapper.exe"
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/tools/runfiles/compile_flags_runfiles_HaskellBuildLibrary"
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/tools/runfiles/extra_args_runfiles_HaskellBuildLibrary"
environment_variables {
name: "LANG"
value: "C.UTF-8"
}
platform {
}
inputs {
@aherrmann
aherrmann / execlog-extract.txt
Created March 12, 2020 11:13
Found module `Bazel.Runfiles'
This file has been truncated, but you can view the full file.
[...]
---------------------------------------------------------
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ghc_wrapper.exe"
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/tools/runfiles/compile_flags_runfiles_HaskellBuildLibrary"
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/tools/runfiles/extra_args_runfiles_HaskellBuildLibrary"
environment_variables {
name: "LANG"
value: "C.UTF-8"
@aherrmann
aherrmann / execlog.txt
Created March 12, 2020 11:09
Found module `Bazel.Runfiles'
This file has been truncated, but you can view the full file.
command_args: "external/bazel_tools/tools/zip/zipper/zipper.exe"
command_args: "cC"
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip"
command_args: "@bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip-0.params"
environment_variables {
name: "JAVA_HOME"
value: "C:\\Users\\VssAdministrator\\dadew\\scoop\\apps\\java-openjdk-8u201\\current"
}
environment_variables {
name: "PATH"
@aherrmann
aherrmann / execlog.txt
Created March 12, 2020 11:09
Found module `Bazel.Runfiles'
This file has been truncated, but you can view the full file.
command_args: "external/bazel_tools/tools/zip/zipper/zipper.exe"
command_args: "cC"
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip"
command_args: "@bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip-0.params"
environment_variables {
name: "JAVA_HOME"
value: "C:\\Users\\VssAdministrator\\dadew\\scoop\\apps\\java-openjdk-8u201\\current"
}
environment_variables {
name: "PATH"
@aherrmann
aherrmann / execlog.txt
Created March 12, 2020 11:07
Found module `Bazel.Runfiles'
This file has been truncated, but you can view the full file.
command_args: "external/bazel_tools/tools/zip/zipper/zipper.exe"
command_args: "cC"
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip"
command_args: "@bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip-0.params"
environment_variables {
name: "JAVA_HOME"
value: "C:\\Users\\VssAdministrator\\dadew\\scoop\\apps\\java-openjdk-8u201\\current"
}
environment_variables {
name: "PATH"
@aherrmann
aherrmann / execlog.txt
Created March 12, 2020 11:07
Found module `Bazel.Runfiles'
This file has been truncated, but you can view the full file.
command_args: "external/bazel_tools/tools/zip/zipper/zipper.exe"
command_args: "cC"
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip"
command_args: "@bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip-0.params"
environment_variables {
name: "JAVA_HOME"
value: "C:\\Users\\VssAdministrator\\dadew\\scoop\\apps\\java-openjdk-8u201\\current"
}
environment_variables {
name: "PATH"
@aherrmann
aherrmann / execlog.txt
Created March 12, 2020 11:06
Found module `Bazel.Runfiles'
This file has been truncated, but you can view the full file.
command_args: "external/bazel_tools/tools/zip/zipper/zipper.exe"
command_args: "cC"
command_args: "bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip"
command_args: "@bazel-out/x64_windows-opt/bin/external/rules_haskell/haskell/ls_modules.zip-0.params"
environment_variables {
name: "JAVA_HOME"
value: "C:\\Users\\VssAdministrator\\dadew\\scoop\\apps\\java-openjdk-8u201\\current"
}
environment_variables {
name: "PATH"