Update C++ flakes
This commit is contained in:
26
env/flake_c++-with-libs.nix
vendored
26
env/flake_c++-with-libs.nix
vendored
@ -1,5 +1,5 @@
|
||||
{
|
||||
description = "C/C++ Environment";
|
||||
description = "C/C++ Environment with Libraries";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
@ -50,11 +50,9 @@
|
||||
bintools = bintools_multi;
|
||||
};
|
||||
in {
|
||||
# devShell = pkgs.devshell.mkShell ...
|
||||
devShell = pkgs.devshell.mkShell {
|
||||
name = "C/C++ Environment";
|
||||
|
||||
packages = with pkgs; [
|
||||
# NOTE: We cannot use devshell, as it doesn't propagate library paths (yet?)
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
# Compilers
|
||||
bintools
|
||||
gcc13
|
||||
@ -73,14 +71,16 @@
|
||||
gdb
|
||||
# cling # To try out my bullshit implementations
|
||||
# doxygen # Generate docs + graphs
|
||||
];
|
||||
|
||||
commands = [
|
||||
# {
|
||||
# name = "ide";
|
||||
# help = "Run clion for project";
|
||||
# command = "clion &>/dev/null ./ &";
|
||||
# }
|
||||
# C++ Libraries
|
||||
# boost181
|
||||
# raylib
|
||||
# sfml
|
||||
|
||||
# C Libraries
|
||||
# blas
|
||||
# lapack
|
||||
# libsvm
|
||||
];
|
||||
};
|
||||
});
|
||||
|
21
env/flake_c++.nix
vendored
21
env/flake_c++.nix
vendored
@ -1,5 +1,5 @@
|
||||
{
|
||||
description = "C/C++ Environment with Libraries";
|
||||
description = "C/C++ Environment";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
@ -50,9 +50,11 @@
|
||||
bintools = bintools_multi;
|
||||
};
|
||||
in {
|
||||
# NOTE: We cannot use devshell, as it doesn't propagate library paths (yet?)
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
# devShell = pkgs.devshell.mkShell ...
|
||||
devShell = pkgs.devshell.mkShell {
|
||||
name = "C/C++ Environment";
|
||||
|
||||
packages = with pkgs; [
|
||||
# Compilers
|
||||
bintools
|
||||
gcc13
|
||||
@ -71,11 +73,14 @@
|
||||
gdb
|
||||
# cling # To try out my bullshit implementations
|
||||
# doxygen # Generate docs + graphs
|
||||
];
|
||||
|
||||
# Libraries
|
||||
# boost181
|
||||
# raylib
|
||||
# sfml
|
||||
commands = [
|
||||
# {
|
||||
# name = "ide";
|
||||
# help = "Run clion for project";
|
||||
# command = "clion &>/dev/null ./ &";
|
||||
# }
|
||||
];
|
||||
};
|
||||
});
|
||||
|
Reference in New Issue
Block a user