Commit Graph

61 Commits

Author SHA1 Message Date
Pratham Patel c0a4205828
update flake.lock 2024-02-29 18:56:33 +05:30
Pratham Patel c5a327c611
rearrange without changing semantics and "export" REMOVE_KERNEL 2024-02-27 19:47:44 +05:30
Pratham Patel b577ae1ae5
take MAX_PARALLEL_JOBS from env 2024-02-27 14:22:25 +05:30
Pratham Patel 2ff1e32e6f
update flake.lock 2024-02-27 14:21:50 +05:30
Pratham Patel 6b68256e2f
fix check for $INSTALL_ZE_KERNEL 2024-02-26 08:22:43 +05:30
Pratham Patel e1fded827a
:/ 2024-02-26 00:31:11 +05:30
Pratham Patel 206222537b
export LLVM 2024-02-25 22:07:05 +05:30
Pratham Patel cec2674be2
add llvmPackages.bintools and "export" vars using `env` 2024-02-25 22:03:15 +05:30
Pratham Patel 7699dda1b9
cleanup the GNU Compiler Toolchain exclusion 2024-02-25 21:08:08 +05:30
Pratham Patel 9fb5655182
update flake.lock 2024-02-25 19:47:42 +05:30
Pratham Patel 31429e2438
update flake.lock 2024-02-22 09:32:13 +05:30
Pratham Patel 9cf7fcdcbe
no need to have sched_ext related pkgs 2024-02-22 09:29:47 +05:30
Pratham Patel 81607e759d
minor changes 2024-02-20 12:30:54 +05:30
Pratham Patel c5e0339ec3
buidling from scratch is retarted behaviour, we are not in a CI pipeline 2024-02-20 12:28:10 +05:30
Pratham Patel caf1ea1339
export script related vars from flake.nix 2024-02-20 12:26:20 +05:30
Pratham Patel f5b55b7fc8
update .gitignore 2024-02-20 12:25:57 +05:30
Pratham Patel a57c43c3c1
remove from /boot/loader/entries and fix typo 2024-02-20 11:04:14 +05:30
Pratham Patel bc39a92d1b
... 2024-02-20 10:45:20 +05:30
Pratham Patel 905fb9d6ad
fix exit codes 2024-02-20 10:41:36 +05:30
Pratham Patel f10529f3a6
WIP rewrite 2024-02-20 10:30:05 +05:30
Pratham Patel 8b68842f8f
update flake.lock 2024-02-20 09:21:06 +05:30
Pratham Patel 9f9f473b9b
update flake 2024-02-20 09:17:23 +05:30
Pratham Patel 78a7c94613
fix LLVM variable exporting with `buildWithRust` set to false 2024-02-18 10:26:49 +05:30
Pratham Patel 7dbbf8da88
update flake.lock 2024-02-18 09:50:32 +05:30
Pratham Patel ec66b56f62
happy shellcheck 2024-02-16 18:14:50 +05:30
Pratham Patel ba8c67edd0
update .gitignore 2024-02-16 18:09:14 +05:30
Pratham Patel 8c2501f0ee
fix typo 2024-02-16 07:58:51 +05:30
Pratham Patel 6a45ed5f32
update flake lock 2024-02-15 21:54:38 +05:30
Pratham Patel 74e807b0cd
make rust.config 2024-02-15 17:25:35 +05:30
Pratham Patel 2f5791460a
"shouldnt affect anything" famous last words 2024-02-15 16:35:14 +05:30
Pratham Patel 2903708fe8
flake: export CLANG_PATH too 2024-02-15 16:34:39 +05:30
Pratham Patel f6af92c9ed
fix envs not exporting 2024-02-15 15:31:30 +05:30
Pratham Patel aac472b869
conditional devenv 2024-02-15 13:14:36 +05:30
Pratham Patel ad1569366f
always install 2024-02-15 12:28:26 +05:30
Pratham Patel 8a5dd9d66d
use dirname to get path 2024-02-15 12:26:55 +05:30
Pratham Patel 80788e4b17
wrapper for build script 2024-02-15 12:19:56 +05:30
Pratham Patel 45594acf58
renames 2024-02-15 12:07:26 +05:30
Pratham Patel 8334b86941
with rust 2024-02-15 09:17:14 +05:30
Pratham Patel d976f286f6
no wrap in quotes 2024-02-15 09:04:55 +05:30
Pratham Patel bb0b686a63
idk, too big 2024-02-14 22:32:17 +05:30
Pratham Patel 6573ea72e7
pedantic 2024-02-14 21:51:34 +05:30
Pratham Patel 0d7d736481
no `nice`, reset kernel_config for user with `make_kernel_config` 2024-02-14 19:47:39 +05:30
Pratham Patel 18d3767073
add option to building with Rust 2024-02-14 19:05:35 +05:30
Pratham Patel 1716b55471
no need to renice 2024-02-14 09:23:15 +05:30
Pratham Patel 46d5014f49
forgot dash does not support pipefail 2024-02-14 09:10:51 +05:30
Pratham Patel fdc7b7813a
disable CONFIG_EFI_ZBOOT for now; handle module sigining with CONFIG_SYSTEM_*_KEYS 2024-02-14 09:08:09 +05:30
Pratham Patel a186aaf8a4
handle rust toolchain setup differently than enabling rust 2024-02-14 09:03:46 +05:30
Pratham Patel 0390f40446
mondo updates
flake.nix:
 - move rustup with the clang stuff
 - declare/"export" LIBCLANG_PATH

scripts/build-kernel-and-install.sh
 - switch from bash to dash so I can see if it ended or not from the
   tmux window name
 - exoprt LLVM and RUST_LIB_SRC if `rustc --version` executes
   successfully
 - `make olddefconfig` before starting to modify the config file
 - save output of `make all` in a build log
2024-02-14 08:43:31 +05:30
Pratham Patel e11bfc6011
fine tuned grub/kernel update setup 2024-02-12 11:40:56 +05:30
Pratham Patel 43fe5893c9
renice with sudo 2024-02-12 09:08:29 +05:30