Commit graph

62 commits

Author SHA1 Message Date
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
fb40bb7e5e
formatted nix files 2022-06-03 16:51:54 +02:00
Anton-4
27ac7dcea2
deprecated shell.nix, updated BUILDING_FROM_SOURCE 2022-05-27 11:59:05 +02:00
Folkert
81caa96af2
Merge remote-tracking branch 'origin/trunk' into update_zig_09 2022-05-07 19:38:04 +02:00
Anton-4
ebf5b41ef3
use rust toolchain file 2022-05-03 13:27:51 +02:00
Brendan Hansknecht
dcc876d03a update nix to llvm 13 2022-04-06 20:32:24 -07:00
Derek Gustafson
e83cac5ef0
Move rust toolchain information from shell.nix to rust-toolchain.toml. 2022-03-06 18:29:14 -05:00
Anton-4
e7918e7d8a
nix: update old rust, use nix 21.11, update to zig 0.8.1 2022-01-31 14:59:01 +01:00
Anton-4
6930d9ba22 added less for git diff 2021-11-06 16:32:07 +01:00
Anton-4
122d75a6ba fix broken zig package 2021-11-01 20:23:26 +01:00
Anton-4
9f1d61714a Merge branch 'trunk' of github.com:rtfeldman/roc into fix-compilation-nix-macos 2021-10-30 19:29:12 +02:00
Anton-4
e0fac60ddb fixed undefined _dl_catch_error_ptr 2021-10-29 20:10:57 +02:00
Brian Hicks
5ef5a364ba add the right COREAUDIO_SDK_PATH fore coreaudio-sys 2021-10-29 11:05:19 -05:00
Matthias Beyer
63f9bf53b4 Fix: Add missing import alsa-lib
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 10:16:31 +02:00
Richard Feldman
749093f992 Add libxkbcommon to shell.nix 2021-09-12 00:10:30 -04:00
Ju Liu
0033392563 Remove unused deps 2021-08-31 11:39:15 +01:00
Ju Liu
7290139512 Merge branch 'trunk' into fix-nix-on-mac-os 2021-08-30 22:54:25 +01:00
Ju Liu
b9281bd181 Only install glibc_multi on Linux
Mac OS does not support it
2021-08-30 22:45:40 +01:00
Richard Feldman
dfd5b54467 Remove libc++ and libunwind from shell.nix 2021-08-20 07:40:56 -04:00
Joshua Hoeflich
000910fd38 Adds nix expression for debugir 2021-08-08 22:46:54 -05:00
Joshua Hoeflich
77add49ed3 All tests pass on Nix OS 2021-08-07 17:31:31 -05:00
Joshua Hoeflich
f08f8d3882 Workaround missing glibc in nix-shell 2021-08-07 10:26:30 -05:00
Brian Hicks
67b486044d use niv 2021-07-20 08:36:00 -05:00
Brian Hicks
ebf0e29dac nixfmt all the nix source files 2021-07-20 08:23:32 -05:00
Brian Hicks
fc36b67fba use niv to pin nixpkgs version 2021-07-20 08:23:09 -05:00
Jared Ramirez
19d8c41e98 Use dev version of llvm in nix 2021-06-15 19:09:21 -07:00
Richard Feldman
5dc0870f6a Use vanilla llvm-as 2021-06-07 22:05:00 -04:00
rvcas
0dc6d5b74b chore: update llvm version in shell.nix 2021-06-07 20:33:57 -04:00
Jared Ramirez
7b143f6329 Update Nix zig version & build from source instructions 2021-06-06 14:27:15 -07:00
Jared Ramirez
81b14b9122 Add RocDec.fromString 2021-05-31 19:39:08 -07:00
Jared Ramirez
9cb8f5af95 Simplify again 2021-05-31 16:02:39 -07:00
Jared Ramirez
9184512492 Simplify zig nix script 2021-05-31 15:59:51 -07:00
Jared Ramirez
966bb80cdc Format & rename some Nix stuff; Remove custom .envrc use nix stuff in favor of stdlib 2021-05-31 15:40:26 -07:00
Jared Ramirez
a4d3f96f25 Run build script instead of zig build on big sur 2021-05-28 17:03:59 -07:00
Brian J. Cardiff
2407ba0b07 Bump nixpkgs-unstable & adds libiconv 2021-04-24 13:30:50 -03:00
Richard Feldman
3ab771cfaa
Merge branch 'trunk' into nix-pure 2021-03-15 21:07:48 -04:00
Brendan Hansknecht
808afae62b get nix-shell --pure to work. 2021-02-15 23:55:50 -08:00
Jared Ramirez
8d73fcda7f Add zig function to check if bytes are valid unicode 2021-02-07 20:01:45 -08:00
Brendan Hansknecht
ebdf5a495d Update nix version to pull in rustc 1.49.0 2021-01-27 12:45:01 -08:00
Jared Ramirez
66f39e0a92 Update Zig snapshot, Nix Zig version, and Zig install instructions 2021-01-05 15:17:53 -08:00
Jared Ramirez
4504306370 [WIP] Fix str.split allocation 2020-12-02 19:16:17 -08:00
Jared Ramirez
a63a8adf27 Fix nix shell on nixos 2020-11-29 14:10:04 -08:00
Brendan Hansknecht
81c0050683 Fix linking on Aarch64 with nix 2020-11-26 03:06:10 +00:00
Richard Feldman
29c1dc35de
Merge pull request #732 from rtfeldman/aarch64-nix
Enable nix shell on aarch64
2020-11-24 20:19:37 -05:00
Brendan Hansknecht
645e30e204 Update from old nixpkgs-channels to new nixpkgs repo 2020-11-24 00:24:27 -08:00
Brendan Hansknecht
af4fba940b Enable nix shell on aarch64 2020-11-24 06:00:16 +00:00
Brendan Hansknecht
de522c4408 Have all llvm packages in nix shell use the same version reference
Realized that some of the packages where grabbing llvm-7 when it failed
to install on my raspberry pi. Now all llvm packages pull from the same
version and only one number has to change to update the version.
2020-11-19 23:13:57 -08:00
lrosa007
c4a9b57cac feat(shell.nix): group linux only deps 2020-11-11 12:55:00 -05:00
Anton-4
a1491e5a9e nix cleanup, instructions to run editor from nix 2020-11-10 20:03:04 +01:00
Anton-4
06a86246df fixed errors when running repl or editor when using nix 2020-11-10 18:22:11 +01:00