Commit graph

89 commits

Author SHA1 Message Date
Anton-4
e0cefe4d41
add licenses subcommand (#7787)
* added licenses subcommand

* fmt

* fix nix legal_details inclusion

* zig fmt

* fix tests
2025-05-17 10:30:41 +02:00
Anton-4
b552466755
glossary: type signature + typos upgrade (#7776)
* glossary: type signature

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* ignore toolchain for typos

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* fix typos

* put toolchain file back

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-07 17:35:56 +02:00
Dawid Danieluk
15f162f83c
feat(nix): make buildRocPackage fetch dependencies recursively (#7729)
* update nix buildRocPackage script

* change list of prefetched urls to include all links from the repository

* update nix buildRocPackage script to also include gz files

add debug echo

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

* use descriptive variable names and add allowed domains list

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP

* add fizzbuzz to examples folder

* limit fizzbuzz range to 10

* include buildRocPackage tests in flake checks

* revert formatter changes

* extend range to contain FizzBuzz

* run nix fmt

* add flake checks to CI

* hello world + fix warnings

* fix unnecessary deps

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* misc fixes

* nix fixes

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-04-18 20:11:09 +02:00
Anton-4
d127c69f95
fix mac simple-http-server 2025-03-21 19:04:23 +01:00
Anton-4
a4ae083b60
security fix, simple-http-server fix 2025-03-21 17:49:41 +01:00
Anton-4
5261062aed
use unforked criterion (#7578) 2025-02-04 16:59:07 +01:00
Anton-4
64fc86bb8c
use simple-http-server fork 2025-01-15 14:14:23 +01:00
Dawid Danieluk
819e35703c revert adding openssl to nativeBuildInputs 2025-01-02 18:18:38 +01:00
Dawid Danieluk
30df8a066a add cacert to nativeBuildInputs 2025-01-02 18:18:38 +01:00
Dawid Danieluk
5e167ed835 add openssl package to roc-dependencies 2025-01-02 18:18:38 +01:00
Dawid Danieluk
21caf7843a dont use --no-check-certificate flag 2025-01-02 18:18:38 +01:00
Dawid Danieluk
ce0920677d allow changing linker 2024-12-20 01:11:04 +01:00
Dawid Danieluk
832501b22e move env variable outside of buildPhase 2024-12-20 00:54:53 +01:00
Dawid Danieluk
1eb663c952 add buildRocPackage to nix folder 2024-12-20 00:54:53 +01:00
Luke Boswell
57dc075b8b
remove unused vars in builder.nix, update flake 2024-11-29 09:41:36 +11:00
Luke Boswell
915097d792
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-10-08 18:21:24 +11:00
Anton-4
587d0afd46
How to view code coverage
Commits:
* Code coverage

* flake lock update

* update nix rev

* flake update

* llvm-cov does not work on macos

* back to old rev
2024-09-28 18:52:51 +02:00
Luke Boswell
16a5ed9bf1
restore nix/builder.nix from zls trial 2024-08-05 11:34:41 +10:00
Luke Boswell
5c1e6d496d
revert back to zig from nixpkgs, using unstable 2024-07-31 16:09:55 +10:00
Luke Boswell
d6c6783b8b
add LLVM_SYS_180_PREFIX env 2024-07-31 15:35:31 +10:00
Luke Boswell
fb62425c00
try updating builder.nix 2024-07-31 15:11:12 +10:00
Luke Boswell
96db1bdce2
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-07-31 14:01:50 +10:00
Anton-4
3136c0b747
expose roc debug cli to nix 2024-07-30 19:58:01 +02:00
Luke Boswell
d50317d8e2
back to 18, use zig-overlay and zls-overlay instead of nixpkgs 2024-07-28 15:55:36 +10:00
Luke Boswell
a42d105515
change nix to uze LLVM18 2024-07-28 15:55:36 +10:00
Luke Boswell
01b3adf56a
start with flake updates
update nixpkgs to 24.05

fixup
2024-07-28 15:55:36 +10:00
Jackson Wambolt
442121bfc7
Fix lang-server nix package build crash 2024-04-22 21:25:46 -05:00
Brian Teague
17fabb77b4 lsp names renamed to roc_language_server
Correct gitignore case
2024-01-05 16:30:38 -05:00
John Murray
07034faa0a
Revert "Revert "Merge pull request #6113 from JRMurr/nix-build-file-sets"" 2023-12-27 12:45:13 -05:00
Anton-4
7aa01fa0e1
minor improvements 2023-12-15 15:38:45 +01:00
John Murray
7397245836
update default nix 2023-12-14 18:37:58 -05:00
John Murray
e853d3b5ac
support nix run and add basic doc 2023-12-14 18:37:58 -05:00
John Murray
ce7fb7ec50
add basic docs for nix install 2023-12-14 18:37:58 -05:00
John Murray
5a9dfe8f8c
update inputs 2023-12-14 18:37:58 -05:00
John Murray
1b45a4b0d4
fix path 2023-12-14 18:37:58 -05:00
John Murray
23de67915c
add basic flake template to use roc in another project 2023-12-14 18:37:58 -05:00
Anton-4
590140f182
Revert "Merge pull request #6113 from JRMurr/nix-build-file-sets"
This reverts commit f7841f0d1c, reversing
changes made to b4506a4dac.
2023-12-01 18:48:12 +01:00
John Murray
05f896e7e8
remove todo comments that are not relevant 2023-11-29 20:06:46 -05:00
Anton-4
f3a27e2a17
minor cleanup
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-29 13:59:51 +01:00
John Murray
625249029a
dont check www 2023-11-28 23:30:37 -05:00
John Murray
4b21d74f32
cleanup some comments 2023-11-28 23:13:19 -05:00
John Murray
3fed1ba129
filter out test folders in nix build 2023-11-28 23:07:25 -05:00
John Murray
2c8c1e0ced
basic file filtering 2023-11-28 22:33:38 -05:00
Anton-4
2233ba470b
minor changes 2023-11-17 17:04:40 +01:00
John Murray
07e06e60f5
setup sub package builds 2023-11-15 20:16:57 -05:00
John Murray
3179773d90
use callPackageWith to cleanup some logic 2023-11-15 20:16:57 -05:00
John Murray
81cd92f3fe
add in default nix at repo root that calls flake for build 2023-11-15 20:16:57 -05:00
John Murray
f64766f625
refactor nix build logic to reduce duplication 2023-11-15 20:16:57 -05:00
John Murray
9aae70c91f
run fmt 2023-11-15 20:16:57 -05:00
John Murray
e52dee7489
move default nix to nix folder 2023-11-15 20:16:57 -05:00