23 lines
517 B
Nix
23 lines
517 B
Nix
|
|
{
|
||
|
|
description = "C++/TypeScript Dev environment for methylphenidate";
|
||
|
|
|
||
|
|
inputs = {
|
||
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||
|
|
};
|
||
|
|
|
||
|
|
outputs = { self, nixpkgs }:
|
||
|
|
let
|
||
|
|
system = "x86_64-linux";
|
||
|
|
pkgs = import nixpkgs { inherit system; };
|
||
|
|
in {
|
||
|
|
devShells.x86_64-linux.default = pkgs.mkShell {
|
||
|
|
buildInputs = with pkgs; [
|
||
|
|
libgcc
|
||
|
|
];
|
||
|
|
shellHook = ''
|
||
|
|
echo "Welcome to the methylphenidate dev environment!"
|
||
|
|
'';
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|