chore: code cleanup (nixpkgs-fmt style)

This commit is contained in:
Swarsel 2024-07-20 00:21:55 +02:00
parent 2a08576697
commit dc66bb27dd
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
44 changed files with 1152 additions and 1138 deletions

View file

@ -5,42 +5,44 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = {nixpkgs, ...}: let
system = "x86_64-linux";
pkgs = import nixpkgs {
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
config.allowUnfree = true;
};
in {
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
# gcc
#builder
# cmake
# gnumake
#headers
clang-tools
#lsp
# llvm.libstdcxxClang
# cudaPackages.cuda_nvcc
#tools
cppcheck
valgrind
doxygen
cudatoolkit
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
in
{
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
# gcc
#builder
# cmake
# gnumake
#headers
clang-tools
#lsp
# llvm.libstdcxxClang
# cudaPackages.cuda_nvcc
#tools
cppcheck
valgrind
doxygen
cudatoolkit
(pkgs.python3.withPackages (python-pkgs: [
python-pkgs.numpy
python-pkgs.pandas
python-pkgs.scipy
python-pkgs.matplotlib
python-pkgs.requests
python-pkgs.debugpy
python-pkgs.python-lsp-server
]))
];
hardeningDisable = ["all"];
# ...
(pkgs.python3.withPackages (python-pkgs: [
python-pkgs.numpy
python-pkgs.pandas
python-pkgs.scipy
python-pkgs.matplotlib
python-pkgs.requests
python-pkgs.debugpy
python-pkgs.python-lsp-server
]))
];
hardeningDisable = [ "all" ];
# ...
};
};
};
}