build: fix flake
This commit is contained in:
parent
222662e402
commit
6523964125
1 changed files with 3 additions and 3 deletions
|
|
@ -15,20 +15,20 @@
|
|||
cargoToml = fromTOML (builtins.readFile ./Cargo.toml);
|
||||
name = cargoToml.package.name;
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
nativeBuildInputs = with pkgs; [
|
||||
m4
|
||||
];
|
||||
in
|
||||
{
|
||||
packages.default = pkgs.rustPlatform.buildRustPackage {
|
||||
inherit name buildInputs;
|
||||
inherit name nativeBuildInputs;
|
||||
src = ./.;
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
inherit buildInputs;
|
||||
inherit nativeBuildInputs;
|
||||
|
||||
packages = with pkgs; [
|
||||
rustc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue