CacheAttacks-Bootcamp/flake.nix
2025-02-20 18:23:14 +01:00

25 lines
622 B
Nix

{
description = "Development environment with CMake, GCC, Clang, Python, Matplotlib, and Scikit-learn";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
devShells.${system}.default = pkgs.mkShell {
buildInputs = [
pkgs.cmake
pkgs.gcc
pkgs.clang
pkgs.python3
pkgs.python3Packages.matplotlib
pkgs.python3Packages.scikit-learn
pkgs.python3Packages.numpy
];
};
};
}