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