Commit Graph

29 Commits

Author SHA1 Message Date
Raito Bezarius 5b22893473 project: move to nixpkgs Rust infrastructure
This builds the stub and tool using `rustPlatform.buildRustPackage`
which features a stable Rust compiler, recent enough to support UEFI
targets.

In the future, it will rely on properly defined targets for UEFI in
nixpkgs.
2023-06-10 18:03:58 +02:00
Raito Bezarius 3f80a7416f flake.lock: Update 2023-05-15 00:47:50 +02:00
Raito Bezarius d0d0b7b3a1 flake.lock: Update 2023-04-29 15:21:38 +02:00
Raito Bezarius 01f07c47e8 flake.lock: Update 2023-04-29 15:03:28 +02:00
nikstur a886416d69 treewide: remove nixpkgs-test 2023-04-24 22:25:57 +02:00
Julian Stecklina 385eced09d
Merge pull request #157 from Mic92/flake-compat
flake: reduce number of dependencies
2023-04-23 15:10:06 +02:00
Jörg Thalheim 0e68a1dd3e flake: reduce number of dependencies 2023-04-23 11:55:09 +02:00
Julian Stecklina 02f7e25888 flake.lock: Update
Flake lock file updates:

• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/45c2ed9dd1397526dad35fc867c43955d87f9f3f' (2023-04-10)
  → 'github:oxalica/rust-overlay/2c417c0460b788328220120c698630947547ee83' (2023-04-22)
2023-04-22 17:11:34 +02:00
Julian Stecklina f0cc345caa flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/2552a2d1ccf33d43259a9e00f93dbacb9e6d6bed' (2023-03-20)
  → 'github:ipetkov/crane/65d3f6a3970cd46bef5eedfd458300f72c56b3c5' (2023-04-04)
2023-04-10 13:32:12 +02:00
Julian Stecklina 4555398821 flake.lock: Update
Flake lock file updates:

• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/c680a0a4144bb0931f6cebd601a3978bbafc4f64' (2023-03-20)
  → 'github:oxalica/rust-overlay/45c2ed9dd1397526dad35fc867c43955d87f9f3f' (2023-04-10)
2023-04-10 13:31:46 +02:00
Julian Stecklina 46dab00ba9 flake.lock: Update
Flake lock file updates:

• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/32b1dbedfd77892a6e375737ef04d8efba634e9e' (2023-03-16)
  → 'github:cachix/pre-commit-hooks.nix/2144d9ddcb550d6dce64a2b44facdc8c5ea2e28a' (2023-04-08)
2023-04-10 13:31:16 +02:00
Julian Stecklina 3297ef13a7 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/c13d60b89adea3dc20704c045ec4d50dd964d447' (2023-03-09)
  → 'github:hercules-ci/flake-parts/dcc36e45d054d7bb554c9cdab69093debd91a0b5' (2023-04-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/130fa0baaa2b93ec45523fdcde942f6844ee9f6e?dir=lib' (2023-03-09)
  → 'github:NixOS/nixpkgs/e3652e0735fbec227f342712f180f4f21f0594f2?dir=lib' (2023-03-30)
2023-04-10 13:30:45 +02:00
Julian Stecklina 2ee83b5d15 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/49966f2c7139521b1c84af4c76c72725e1eafd2e' (2023-03-19)
  → 'github:NixOS/nixpkgs/4fba351146e26d9e09d455687b75089ac50b9b13' (2023-04-10)
2023-04-10 13:23:48 +02:00
Lily Foster fd956c4864
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-test':
    'github:RaitoBezarius/nixpkgs/e51bf8cc8e2c75192e930ad83ed272938729e7be' (2022-12-23)
  → 'github:NixOS/nixpkgs/371d3778c4f9cee7d5cf014e6ce400d57366570f' (2023-03-16)
2023-03-20 07:47:21 -04:00
Julian Stecklina 5a03bb751d stub: update dependencies
Update nightly toolchain and UEFI dependencies. The latest crane
version comes with a bug where it fails to compile UEFI binaries.
2023-03-20 09:51:30 +01:00
renovate[bot] dfa6c3db1f
chore(deps): lock file maintenance 2023-03-20 01:57:17 +00:00
Julian Stecklina 5aae26a63d flake: enable pre-commit hooks 2023-01-08 14:42:53 +01:00
Julian Stecklina bed6a4b8ba flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/59b31b41a589c0a65e4a1f86b0e5eac68081468b' (2022-12-13)
  → 'github:ipetkov/crane/0144134311767fcee80213321f079a8ffa0b9cc1' (2023-01-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e8ee153b1717dca9c6aa38d5cf198329480d5b41' (2022-12-23)
  → 'github:NixOS/nixpkgs/d9f73e41fd3c8e85b266bdb91cb7535600010798' (2023-01-06)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/905db21103d646ddc1eb81920e05180e6e2b6734' (2022-12-17)
  → 'github:oxalica/rust-overlay/802ff3314663ec7114f29a6e8b200dfc892023f8' (2023-01-07)
2023-01-07 20:25:04 +01:00
Julian Stecklina e7ec7ceefd flake: add flake-parts without moving attributes
This commit adds flake-parts and does minimal enabling without moving
any of the attributes into their "proper" locations yet.
2023-01-07 20:25:04 +01:00
Raito Bezarius 8e482e7db9 chore: support non-flake users 2022-12-26 01:22:34 +01:00
Raito Bezarius e3f6029643 nixos/lanzaboote: use upstream bootspec for extension generation 2022-12-25 18:05:07 +01:00
Jörg Thalheim a4ddbada50 deduplicate flakes
without this users end up with multiple copies of nixpkgs, which cannot
be overriden from the outside (follows only works on 1 level).
2022-12-08 20:40:40 +01:00
Julian Stecklina 28bb93c5f3 nix: switch everything to crane and drop naersk 2022-11-28 14:01:35 +01:00
Julian Stecklina 4fb1e0d0dd flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/c61d98aaea5667607a36bafe5a6fa87fe5bb2c7e' (2022-11-21)
  → 'github:ipetkov/crane/24591d5f8cc979f7b243b88a2d39da09976970ad' (2022-11-28)
• Updated input 'naersk/nixpkgs':
    'github:NixOS/nixpkgs/3ea5616c21dd186129f90a86c66352359a45cb07' (2022-11-23)
  → 'github:NixOS/nixpkgs/b45ec953794bb07922f0468152ad1ebaf8a084b3' (2022-11-27)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3ea5616c21dd186129f90a86c66352359a45cb07' (2022-11-23)
  → 'github:NixOS/nixpkgs/b45ec953794bb07922f0468152ad1ebaf8a084b3' (2022-11-27)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/018df6d3f900fc53d567045bd86208f5c00d8956' (2022-11-24)
  → 'github:oxalica/rust-overlay/b9da8e68a08707115be750c0cf7ade33f49d8ec4' (2022-11-28)
2022-11-28 13:15:59 +01:00
nikstur 0a638970e7 lanzatool: enable specialisation 2022-11-27 12:01:53 +01:00
Julian Stecklina 85de5d52d0 nix: build lanzatool with crane 2022-11-26 19:16:31 +01:00
Raito Bezarius ccdd02bf1c nixos: add a lanzaboote module
- Wire up things with Bootspec & External bootloaders
- Introduce SecureBoot keys
2022-11-24 17:07:05 +01:00
Raito Bezarius c53477fbf5 nixos: add a lanzaboote module 2022-11-24 16:59:59 +01:00
Julian Stecklina cd39fd3a6b Initial import of Rust files 2022-11-21 12:31:23 +01:00