OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/nix/shell.nix

33 lines
671 B

{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
op-get-test-failures = writeShellScriptBin "op-get-test-failures" ''
exec ${curl}/bin/curl "$$1" | grep 'rspec \.\/' | cut -f3 -d' ' | paste -s -d ' '
'';
gems = bundlerEnv {
name = "openproject-dev";
inherit ruby;
gemdir = ./.;
};
in
mkShell {
nativeBuildInputs = [
buildPackages.ruby_2_7
postgresql
nodejs
tightvnc
bundix
docker-compose
google-chrome
gems
op-get-test-failures
];
CHROME_BINARY = "${google-chrome}/bin/google-chrome";
OPENPROJECT_TESTING_NO_HEADLESS = "1";
OPENPROJECT_TESTING_AUTO_DEVTOOLS = "1";
}