28 lines
515 B
Nix
28 lines
515 B
Nix
{
|
|
description = "dependencies for parallel processing in c";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs =
|
|
{ self, nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
gcc
|
|
gnumake
|
|
mpi
|
|
feh
|
|
];
|
|
shellHook = ''
|
|
echo welcome!
|
|
'';
|
|
};
|
|
};
|
|
}
|