Skip to content

Commit 6d0cc3a

Browse files
committed
ci: repair nix build
Specifically, add --no-sandbox to the nix build invocation to work around cabal. Without this cabal errors out stating it has no http connection.
1 parent 78144f4 commit 6d0cc3a

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: cachix/install-nix-action@v22
14-
- run: nix build -o _build
14+
- run: nix build -o _build --no-sandbox
1515
- name: Deploy 🚀
1616
uses: JamesIves/[email protected]
1717
with:

src/Measurement_Observation/Binary_Profiling/linux_perf.rst

+4-7
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,6 @@ defined in ``QSort`` that I have elided.
290290
Inspecting with Perf
291291
--------------------
292292

293-
Awards
294-
^^^^^^
295-
296293
To investigate we'll compile and run the program in ``perf``. Perf is a
297294
statistical profiler that outputs key CPU counters (these counters are called
298295
`PMC
@@ -972,14 +969,14 @@ Footnotes
972969
#. :term:`Unlifted` objects cannot be evaluated and therefore don't have
973970
an entry code.
974971
975-
.. [#] GHC can be built in many different ways which we call ``flavors``. The
976-
``default`` flavor is one such provided by GHC's build tool `Hadrian
977-
<https://gitlab.haskell.org/ghc/ghc/-/blob/master/hadrian/README.md?ref_type=heads>`__.
978-
979972
.. [#] I say "typically" because GHC will use ``call`` in some circumstances
980973
such as creating :term:`CAF`'s, see :ghcSource:`Note [CAF management]
981974
<rts/sm/Storage.c?ref_type=heads#L425>`
982975
976+
.. [#] GHC can be built in many different ways which we call ``flavors``. The
977+
``default`` flavor is one such provided by GHC's build tool `Hadrian
978+
<https://gitlab.haskell.org/ghc/ghc/-/blob/master/hadrian/README.md?ref_type=heads>`__.
979+
983980
.. [#] Larger code size will slow down the program because there is simply more
984981
code to process. But its contribution to runtime performance is not as
985982
great as the *locality* between data and the code operating on the data.

0 commit comments

Comments
 (0)