mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-03 10:14:13 +02:00
This commit is contained in:
parent
c971fe6d79
commit
e40bd6c13b
3 changed files with 2 additions and 12 deletions
|
|
@ -26,7 +26,6 @@
|
||||||
withOverlays = [
|
withOverlays = [
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
nodejs-16_x = final.nodejs;
|
nodejs-16_x = final.nodejs;
|
||||||
demostf-frontend-toolchain = final.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
|
||||||
})
|
})
|
||||||
(import ./nix/overlay.nix)
|
(import ./nix/overlay.nix)
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,12 @@
|
||||||
{
|
{
|
||||||
stdenv,
|
stdenv,
|
||||||
makeRustPlatform,
|
rustPlatform,
|
||||||
lib,
|
lib,
|
||||||
demostf-frontend-toolchain,
|
|
||||||
pkg-config,
|
pkg-config,
|
||||||
openssl,
|
openssl,
|
||||||
demostf-frontend-node-modules,
|
demostf-frontend-node-modules,
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.sources) sourceByRegex;
|
inherit (lib.sources) sourceByRegex;
|
||||||
rustPlatform = makeRustPlatform {
|
|
||||||
rustc = demostf-frontend-toolchain;
|
|
||||||
cargo = demostf-frontend-toolchain;
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "demostf-frontend";
|
pname = "demostf-frontend";
|
||||||
|
|
@ -32,7 +27,7 @@ in
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ../Cargo.lock;
|
lockFile = ../Cargo.lock;
|
||||||
outputHashes = {
|
outputHashes = {
|
||||||
"jsx-dom-expressions-0.1.0" = "sha256-5TN9FBfPYznTkpL9ZtnKv3RghX7r8c2WvSL1sc+F0cw=";
|
"jsx-dom-expressions-0.1.0" = "sha256-8AErYTMCG47rEm5x8KZIPEkD4eGPp7/LuRPJUdnWtK0=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
[toolchain]
|
|
||||||
channel = "nightly-2026-03-18"
|
|
||||||
components = ["rustfmt", "rust-std", "clippy", "rust-src"]
|
|
||||||
targets = ["riscv32imc-unknown-none-elf"]
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue