-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/crq 016 nixify #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
ee274be
8b2525d
8475b71
bb2a442
23a3917
5ec0d79
9aebda6
60f920a
60fff43
f9b1eb2
8bbbceb
836bd0c
1c65306
8210336
2ccaa14
791aeea
6a1002c
f107482
b8d6eb1
fac884d
e8759fd
012f1c5
2fd5d7c
cc0f176
198e54b
9f0022d
12cb78b
19b0b52
5bde55a
6767b38
7dc0d5a
196a93b
6421998
bf0eba8
012f808
cbbe7c7
a3515f1
f433865
1d58329
d27b285
f53ffaa
ee3207e
9cec01f
8e35c28
cf8572c
c3e4bee
a93e87c
9c431fc
3eaa557
a0c9a03
b658bc9
0480283
6b3acd8
1f4c09b
7ccd8a7
eb2b108
dacf876
b4d296c
e64a434
fe1317a
894af01
b925ee5
4baf01b
1a120fb
646cf77
a8722b1
79740e8
7a0b8f7
97b6f70
34d7b3a
0c52a17
b62bdac
75b6c7d
e81b4ac
279b48f
be3f357
61d00b3
426da9a
31519d5
7dd50f6
7352c91
6633bde
33404be
2417f78
15033ef
e03419b
f2b8df4
a7f3845
844465d
f322f0e
d540148
c851e43
6e4c0e5
5ab287d
426eb23
2ef9071
d3c5122
9b1b8b4
0648098
c0fc109
436bcb5
a3f8b14
718e07a
0c80492
62e586a
91aa8a2
fd42790
4f4bd2e
32464ef
13abf49
f6493dc
c540860
c0cb2fd
76524a4
7a431bb
e7671f1
e9fad3d
1ea9321
23be067
bc0d837
2c33cca
bfbb8a8
53390ec
8c6f9af
938c50a
3ecd70c
e06e6bc
48ec156
dc34c9d
9118201
c0b0ee9
e3aff50
ee76a27
29b72cc
7bbb45a
0995e5c
7155882
9b43833
887e153
14d8ba9
02c870f
2726440
b44e980
0559367
b57d760
e1215ab
c47436a
e3da9ef
5cb9b82
e279685
77d2d37
b72abb7
d8d3c20
d4cf6b2
6703b17
0ad66e9
e8ac53c
dc15960
47af652
3561253
bbf1e88
ad3feec
ac911ba
7092248
a4efdc7
4a7442e
00354c8
2e90c7c
9290d40
c735ffa
45996ed
0c5dce0
a1997fb
b7c629d
0caa326
c9473cf
74526fe
de847a9
72322e3
79ec8f0
d3cfcf6
379d155
b1c46c9
dc588e9
510c359
1a4a2ec
0e06c8a
675ec37
12bac98
d636fcc
ed5b3c5
e5cc2ea
badd006
668e7de
00fd3ed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| last issue | ||
| bash-5.3$ nix build | ||
| trace: Rust 1.92.0-nightly-2025-10-16: | ||
| Pre-aggregated package `rust` is not encouraged for stable channel since it contains almost all and uncertain components. | ||
| Consider use `default` profile like `rust-bin.stable.latest.default` and override it with extensions you need. | ||
| See README for more information. | ||
|
|
||
| this derivation will be built: | ||
| /nix/store/jjy833sc0z7xcl495sfkyx2rcqyfigmi-rust-solana-tools-v1.51.drv | ||
| building '/nix/store/jjy833sc0z7xcl495sfkyx2rcqyfigmi-rust-solana-tools-v1.51.drv'... | ||
| error: builder for '/nix/store/jjy833sc0z7xcl495sfkyx2rcqyfigmi-rust-solana-tools-v1.51.drv' failed with exit code 1; | ||
| last 25 log lines: | ||
| > Compiling filetime v0.2.25 | ||
| > Compiling cpufeatures v0.2.14 | ||
| > Compiling itoa v1.0.11 | ||
| > Compiling ryu v1.0.18 | ||
| > Compiling bootstrap v0.0.0 (/tmp/nix-shell.R9IS5s/nix-shell.TZl15H/nix-build-rust-solana-tools-v1.51.drv-0/k7wrn478pqvwbzcr7gkbjghcphp62kxd-source/src/bootstrap) | ||
| > Compiling tar v0.4.42 | ||
| > Compiling sha2 v0.10.8 | ||
| > Compiling clap_derive v4.5.18 | ||
| > Compiling serde_derive v1.0.210 | ||
| > Compiling ignore v0.4.23 | ||
| > Compiling opener v0.5.2 | ||
| > Compiling fd-lock v4.0.2 | ||
| > Compiling toml v0.5.11 | ||
| > Compiling cmake v0.1.48 | ||
| > Compiling object v0.36.4 | ||
| > Compiling home v0.5.9 | ||
| > Compiling termcolor v1.4.1 | ||
| > Compiling clap v4.5.18 | ||
| > Compiling clap_complete v4.5.29 | ||
| > Compiling build_helper v0.1.0 (/tmp/nix-shell.R9IS5s/nix-shell.TZl15H/nix-build-rust-solana-tools-v1.51.drv-0/k7wrn478pqvwbzcr7gkbjghcphp62kxd-source/src/build_helper) | ||
| > Compiling xz2 v0.1.7 | ||
| > Finished `dev` profile [unoptimized] target(s) in 1m 55s | ||
| > DEBUG: Entering run function, about to execute command. | ||
| > ERROR: Failed to parse 'config.toml': unknown field `CARGO_HOME` | ||
| > Build completed unsuccessfully in 0:01:55 | ||
| For full logs, run: | ||
| nix log /nix/store/jjy833sc0z7xcl495sfkyx2rcqyfigmi-rust-solana-tools-v1.51.drv | ||
| bash-5.3$ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| feat: Centralize git command helpers in bootstrap-config-builder | ||
|
|
||
| Created `bootstrap-config-builder/src/utils/git_command_helpers.rs` to | ||
| centralize generic functions for executing git commands via `std::process::Command`. | ||
| This includes `run_git_command` and `output_result`, adapted to use `anyhow::Result` | ||
| for better error handling. The `bootstrap-config-builder/src/utils/mod.rs` | ||
| was updated to include this new module. | ||
|
|
||
| This change aims to reduce potential code duplication and provide a single | ||
| point of maintenance for shell-based git operations within the `bootstrap-config-builder` crate. |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,3 +1,17 @@ | ||||||||
| /build/ | ||||||||
| /standalonex/build/ | ||||||||
| /standalonex/result | ||||||||
| result | ||||||||
| logs/ | ||||||||
| Makefile~ | ||||||||
| *.log | ||||||||
| *~ | ||||||||
| *# | ||||||||
| */build | ||||||||
| /standalonex/src/target/ | ||||||||
| /standalonex/src/bootstrap/build/ | ||||||||
| /standalonex/src/bootstrap/target/ | ||||||||
| target/ | ||||||||
| *.d | ||||||||
| *.so | ||||||||
| /.pre-commit-config.local.yamlnix-build-scripts/.#Makefile | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix malformed ignore entry (merge artifact).
Apply: -/.pre-commit-config.local.yamlnix-build-scripts/.#Makefile
+/.pre-commit-config.local.yaml
+nix-build-scripts/.#Makefile📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # DO NOT MODIFY | ||
| # This file was generated by git-hooks.nix | ||
| { | ||
| "default_stages": [ | ||
| "pre-commit" | ||
| ], | ||
| "repos": [ | ||
| { | ||
| "hooks": [ | ||
| { | ||
| "always_run": false, | ||
| "args": [], | ||
| "entry": "/nix/store/p7k9clwmbbr98c171269n907r2730wl3-nixpkgs-fmt-1.3.0/bin/nixpkgs-fmt", | ||
| "exclude": "^$", | ||
| "exclude_types": [], | ||
| "fail_fast": false, | ||
| "files": ".nix$", | ||
| "id": "nixpkgs-fmt", | ||
| "language": "system", | ||
| "name": "nixpkgs-fmt", | ||
| "pass_filenames": true, | ||
| "require_serial": false, | ||
| "stages": [ | ||
| "pre-commit" | ||
| ], | ||
| "types": [ | ||
| "file" | ||
| ], | ||
| "types_or": [], | ||
| "verbose": false | ||
| } | ||
| ], | ||
| "repo": "local" | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| # DO NOT MODIFY | ||
| # This file was generated by git-hooks.nix | ||
| { | ||
| "default_stages": [ | ||
| "pre-commit" | ||
| ], | ||
| "repos": [ | ||
| { | ||
| "hooks": [ | ||
| { | ||
| "always_run": false, | ||
| "args": [], | ||
| "entry": "/nix/store/p7k9clwmbbr98c171269n907r2730wl3-nixpkgs-fmt-1.3.0/bin/nixpkgs-fmt", | ||
| "exclude": "^$", | ||
| "exclude_types": [], | ||
| "fail_fast": false, | ||
| "files": "\\.nix$", | ||
| "id": "nixpkgs-fmt", | ||
| "language": "system", | ||
| "name": "nixpkgs-fmt", | ||
| "pass_filenames": true, | ||
| "require_serial": false, | ||
| "stages": [ | ||
| "pre-commit" | ||
| ], | ||
| "types": [ | ||
| "file" | ||
| ], | ||
| "types_or": [], | ||
| "verbose": false | ||
| }, | ||
| { | ||
| "always_run": false, | ||
| "args": [], | ||
| "entry": "/nix/store/grb48jw3fbszgxvhjqm7n5ckhmgk6inw-typos-1.35.6/bin/typos --config /nix/store/wvhry1k8b04i0hi7ir489kh08sd8ll5i-typos-config.toml --force-exclude", | ||
| "exclude": "^$", | ||
| "exclude_types": [], | ||
| "fail_fast": false, | ||
| "files": "", | ||
| "id": "typos", | ||
| "language": "system", | ||
| "name": "typos", | ||
| "pass_filenames": true, | ||
| "require_serial": false, | ||
| "stages": [ | ||
| "pre-commit" | ||
| ], | ||
| "types": [ | ||
| "text" | ||
| ], | ||
| "types_or": [], | ||
| "verbose": false | ||
| } | ||
| ], | ||
| "repo": "local" | ||
| } | ||
| ] | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.