flake devshell
This commit is contained in:
parent
91e2c52270
commit
c81cd0c2ea
5 changed files with 254 additions and 3 deletions
16
flake.nix
Normal file
16
flake.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
description = "Flake utils demo";
|
||||
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
inputs.generic_c.url = "github:Maix0/generic_c";
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, generic_c }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let pkgs = nixpkgs.legacyPackages.${system}; in
|
||||
{
|
||||
devShell = pkgs.mkShell {
|
||||
packages = with pkgs; [clang valgrind gnumake readline.out readline.dev generic_c.packages.${system}.default];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue