Fixed waiting on previous command for pipeline to spawn next

This commit is contained in:
Maix0 2024-08-13 16:01:45 +02:00
parent 45bacdd3c0
commit aac10822d3
13 changed files with 679 additions and 52 deletions

View file

@ -1,9 +1,9 @@
{
description = "Flake utils demo";
inputs.nixpkgs.url = "github:nixos/nixpkgs";
inputs.flake-utils.url = "github:numtide/flake-utils";
# inputs.generic_c.url = "github:Maix0/generic_c";
inputs.generic_c.url = "github:Maix0/generic_c";
# inputs.c_formatter_42.url = "github:Maix0/c_formatter_42-flake";
# inputs.rust-overlay.url = "github:oxalica/rust-overlay";
@ -11,14 +11,15 @@
self,
nixpkgs,
flake-utils,
# generic_c,
generic_c,
# c_formatter_42,
# rust-overlay,
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
/*import nixpkgs {
/*
import nixpkgs {
inherit system;
overlays = [
(import rust-overlay)
@ -29,21 +30,28 @@
};
})
];
};*/
};
*/
in {
devShell = pkgs.mkShell {
packages = with pkgs; [
# clang-analyzer
clang
gnumake
# generic_c.packages.${system}.default
# c_formatter_42.packages.${system}.default
# llvmPackages.bintools
# norminette
# tokei
# coreutils
#];
] ++ (if system == "x86_64-linux" then [valgrind valgrind.dev] else []);
packages = with pkgs;
[
clang-analyzer
clang
gnumake
generic_c.packages.${system}.default
# c_formatter_42.packages.${system}.default
llvmPackages.bintools
# norminette
# tokei
# coreutils
#];
]
++ (
if system == "x86_64-linux"
then [valgrind valgrind.dev]
else []
);
#ASAN_OPTIONS = "strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1";
};
}