Files
TDT4205/ps1/flake.nix
2026-01-29 17:57:08 +01:00

24 lines
450 B
Nix

{
description = "DevShell with flex, bison, gdb, cmake";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
flex
bison
gdb
cmake
libgcc
];
};
};
}