31 lines
683 B
Nix
31 lines
683 B
Nix
{
|
|
description = "Development shell for M2 project TD3 course";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
flake-utils = {
|
|
url = "github:numtide/flake-utils";
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs , flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in {
|
|
devShells = {
|
|
default = pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
go-task
|
|
nodejs
|
|
selenium-server-standalone
|
|
python3Packages.selenium
|
|
];
|
|
shellHook = ''
|
|
echo "Node is a piece of shit"
|
|
'';
|
|
};
|
|
};
|
|
});
|
|
}
|