Commit Graph

102 Commits

Author SHA1 Message Date
Yvan Sraka
be992af48f
Add instructions on how to use DevContainers outside of GitHub or VSCode (#135) 2024-04-04 01:50:16 +00:00
Yvan Sraka
4604d892a6
Finish the -iog-full flavor by generating the corresponding devx-container (#139) 2024-04-03 16:33:03 +00:00
Sean Gillespie
e489b1b52f
feature(ci): Add "iog-full" flavor to github CI (#133) 2024-04-02 13:14:51 +00:00
Yvan Sraka
6049c0f071
Fix #116: trusted-users allows running commands as root without password (#130)
Update `README.md` to rather suggest user to directly put the
`extra-substituters` in `/etc/nix/nix.conf` and remove `nixConfig`
attribute from the `flake.nix`.
2024-03-26 12:57:20 +00:00
zeme-wana
eba5f8dc48
Fix small typo in the README.md (#131) 2024-03-26 12:36:31 +00:00
Yvan Sraka
9a480f9f77
Add -iog-full flavor (with R and Postgres) (#129) 2024-03-21 12:42:13 +00:00
Yvan Sraka
2f4fa7f42a
Update Dockerfile (#127) 2024-02-27 12:45:59 +00:00
Yvan Sraka
773769612b
Update README.md (#126) 2024-02-27 08:50:43 +00:00
Yvan Sraka
b2073bd49e
Update README.md (#121) 2024-01-26 05:56:27 +00:00
Yvan Sraka
3126fed8ca
Update wait-and-upload.yml (#120) 2024-01-16 08:22:21 +00:00
Sean Gillespie
a69e139242
fix: Add curl to cabal wrapper (#119) 2024-01-08 15:15:09 +00:00
Hamish Mackenzie
2a8b2cbf7d
Update hello.yml with short compiler-nix-names (#113)
* Update hello.yml with short compiler-nix-names

* Try fix for bool issue

* Use latest action branch now it is fixed
2023-10-25 04:18:50 +00:00
Hamish Mackenzie
fb0fbe3010
Add ghc980 and ghc99 (#111)
* Add ghc98020230824 and ghc9920230923

* pkgconfig is now pkg-config in nixpkgs

* Point to haskell.nix with aarch64-linux

* Use static nix-tools to get cabal

* Use short compiler-nix-names

* Fix cabal-install failure

* Fix eval

* Fix eval

* Update haskell.nix

* Fixes for ghc 9.8.1

* Update github actions

* Fixes for hydra eval

* Use short names and refactor a bit

* Fix hlint build filter

* Add missing toolsModule

* Fix tools for ghc >=9.8

* Stick with long ghc nix names for now

* Use short names

* Leave hello.yml for now
2023-10-18 09:25:31 +00:00
Yvan Sraka
979fc22a3d
Create lints.yml (#110) 2023-10-18 04:17:58 +00:00
Yvan Sraka
647802e804
Add a handy curl https://input-output-hk.github.io/devx | sh script (#108)
This should help newcommers that have several machines to onboard :)
2023-10-18 04:17:14 +00:00
Moritz Angermann
a2f3af3530
Update cross-windows.nix (#107)
* Update cross-windows.nix

* Update cross-windows.nix
2023-10-18 04:15:36 +00:00
Moritz Angermann
523d0f296d
Try wait-for-hydra action (#105)
* Update main.yml

* Update main.yml

* Update main.yml
2023-10-18 04:14:02 +00:00
Moritz Angermann
cf203c4609
Add overall required job (#106)
* Update flake.nix

* Update flake.nix

* Update flake.nix

* Update flake.nix

* Fix nixutils back to numtide

* ???

* ???

* 🤦

* 🤯

* yuck!
2023-10-18 04:10:55 +00:00
Moritz Angermann
b6ff21f7bb
Add required job (#103)
* Add required job

* Update flake.nix
2023-09-12 06:14:51 +00:00
Yvan Sraka
bd723cf4e8
Wait and upload for Hydra (#99)
1. Hydra
2. DevX closures
3. Devcontainer
2023-09-11 23:14:47 +00:00
Yvan Sraka
3fef25f46e
Expose CABAL_PROJECT_LOCAL_TEMPLATE as a /nix/store/ file (#97) 2023-09-08 06:30:43 +00:00
Hamish Mackenzie
91cba01b90
Run tests with wine by default (#53)
* Run tests with wine by default

When cross compiling for windows use set the cabal flag `--test-wrapper` to point at a script that runs the test in wine.

* Tidy up

* Comment

* Comment

* Comment
2023-09-08 01:36:56 +00:00
Yvan Sraka
f87e9247b5
Update HLS to version 2.0 (#96) 2023-08-29 02:52:51 +00:00
Yvan Sraka
0e3aa4ae96
Add aarch64-linux to GitHub Codespace Action to support macOS M1/M2 VSCode DevContainers (#83) 2023-08-10 07:31:50 +00:00
Yvan Sraka
95632aee9e
Create update-flake-lock.yml (#84) 2023-08-10 07:29:37 +00:00
Yvan Sraka
b6a3d614b9
Add gh, jq and yq-go (#85)
- https://github.com/cli/cli
- https://github.com/jqlang/jq
- https://github.com/mikefarah/yq
2023-08-10 07:28:20 +00:00
Yvan Sraka
864b7bded1
Update GitHub action matrix exclude list (#93)
* Update main.yml

* Update hello.yml
2023-08-10 07:26:50 +00:00
Yvan Sraka
26ea1005a0
Fix my test in ghcr-upload.sh (#92) 2023-08-07 18:20:02 +00:00
Yvan Sraka
a6a3b79e03
Fix ghcr-upload.sh by adding --accept-flake-config to nix build (#91) 2023-08-04 11:41:54 +00:00
Yvan Sraka
0ee204322d
Check while caling ghcr-upload.sh that closure contains devx shell rc derivation (#90)
The motivation is to detect the faulty closures by failing in CI, rather than silently uploading them to ghcr.io
2023-08-04 11:32:07 +00:00
Yvan Sraka
bc55fdb1fc
Fix Codespace image generation (always empty Dockerfile ARG...) (#87)
... This is apparently the default behavior chosen
by Docker when ARG are defined before FROM ... and
indeed Docker don't bother you with any warning :)
2023-08-02 21:23:06 +00:00
Yvan Sraka
bfbe406e5b
Few README.md tweaks (add instructions to set up GitHub Codespace prebuilds) (#81) 2023-07-10 10:15:49 +00:00
Yvan Sraka
7aa98cca49
Use nix show-config | grep trusted-users to check if $USER is trusted (#80) 2023-07-05 08:59:39 +00:00
Yvan Sraka
ef3b69e021
Update README.md with GitHub Codespace / VSCode DevContainer instructions (#77)
* Update README.md with GitHub Codespace / VSCode DevContainer instructions

* Update README.md
2023-07-05 08:42:30 +00:00
Yvan Sraka
833d31c0ac
Add a note to GitHub CodeSpace to explain what images it generates (#79)
* Add a note to GitHub CodeSpace to explain what images it generates

* Update .github/workflows/codespace.yml

Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>

---------

Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
2023-07-05 08:41:47 +00:00
Yvan Sraka
55dfa646fe
Add packages: write permission to GA that build Codespace docker images (#78) 2023-07-05 08:14:27 +00:00
Yvan Sraka
6fb97c3d05
Add a GA that build GitHub CodeSpaces containers (#76)
* Add a GA that build GitHub CodeSpaces containers

* Update codespace.yml

* Update codespace.yml

* Update codespace.yml

* Update codespace.yml

* Update codespace.yml

* Update codespace.yml
2023-07-04 09:40:37 +00:00
Moritz Angermann
04a5a7e95b
Update dynamic.nix (#75) 2023-07-03 13:35:56 +00:00
Erik de Castro Lopo
09b8f1257f
README.md: Very minor tweaks (#74)
* README.md: Very minor tweaks

* Update README.md

* Update README.md

---------

Co-authored-by: Yvan Sraka <yvan@sraka.xyz>
2023-07-03 13:30:51 +00:00
Yvan Sraka
ff07291248
Write up doc on using devx devshell with direnv (#63) 2023-06-29 12:07:24 +00:00
Hamish Mackenzie
f2ea69c182
Revert "Avoid building in GHA" (#73)
This reverts commit 43d7fb43e5.

It turns out that we need to build the `plan-nix` derivations as they are not cached.
2023-06-09 05:45:22 +00:00
Hamish Mackenzie
63cfb6355d
Avoid building in GHA (#71)
* Avoid building in GHA

GHA should be able to download the required files from the nix cache populated by hydra.  If it cannot DL what it needs, it is better to have it fail instead of wasting resources trying a build that will probably eventually run out of disk space anyway.

* Skip windows cross compile on darwin for now
2023-06-09 04:36:43 +00:00
Moritz Angermann
997f084d16
Add nodejs to js-cross (#68)
Fixes  #67
2023-06-09 10:00:58 +08:00
Hamish Mackenzie
35f9749278
Bump haskell.nix use ghc 9.2.8 & 9.6.2 (#69) 2023-06-08 16:58:24 +12:00
Moritz Angermann
28b15ff6ec
Update README.md (#65)
Improve readme regarding the devshells we have.

---------

Co-authored-by: Andrea Bedini <andrea@andreabedini.com>
2023-05-25 11:22:45 +08:00
Hamish Mackenzie
e0037345b5
Bump iohk-nix and haskellNix (#60)
nix flake lock --update-input iohk-nix
nix flake lock --update-input haskellNix
2023-05-19 20:43:18 +12:00
Moritz Angermann
760642897b
Add icu to dynamic.nix and static.nix (#61)
* Add icu to dynamic.nix
* Add icu to static
2023-05-18 09:21:07 +08:00
Moritz Angermann
730f08870f
Add postgresql to -iog shells (#54)
This adds postgresql to -iog shells, as needed by input-output-hk/cardano-db-sync
2023-05-05 20:31:20 +08:00
Moritz Angermann
a1f85fc234
Fix static.nix (#51)
This used to be broken (pkg-config IOG libs could not be found).
2023-05-04 16:57:17 +08:00
Hamish Mackenzie
2e8b541359
Fix static cabal.project.local template (#52)
* Fix static cabal.project.local template

---------

Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
2023-05-04 16:56:15 +08:00