Add preprocessing step

This commit is contained in:
Alexander Heldt
2024-06-17 20:02:48 +02:00
parent 297a507a3a
commit 3dab4aece3
7 changed files with 1019 additions and 0 deletions

31
flake.nix Normal file
View File

@@ -0,0 +1,31 @@
{
description = "c compile experiments";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { nixpkgs, ... }:
let
systems = [ "x86_64-linux" ];
in
{
config = {
nixpkgs.config.allowUnfree = true;
};
devShells = nixpkgs.lib.genAttrs systems (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
default = pkgs.mkShell {
packages = [
pkgs.gnumake
pkgs.gcc-arm-embedded
];
};
}
);
};
}