diff --git a/.gitignore b/.gitignore index 420aac5..30a3b35 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /public/css/app.css /storage/*.key /vendor +composer.lock .env .env.backup .phpunit.result.cache diff --git a/composer.json b/composer.json index 0243f9c..3025b2a 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ ], "license": "MIT", "require": { - "php": "^7.2.5|^8.0", + "php": "^7.4|^8.0", "fideloper/proxy": "^4.4", "guzzlehttp/guzzle": "^7.3", "laravel/framework": "^6.20", @@ -37,10 +37,7 @@ "psr-4": { "App\\": "app/" }, - "classmap": [ - "database/seeds", - "database/factories" - ] + "classmap": [] }, "autoload-dev": { "psr-4": { diff --git a/sandd-core.nix b/sandd-core.nix new file mode 100644 index 0000000..7ffbb23 --- /dev/null +++ b/sandd-core.nix @@ -0,0 +1,22 @@ +{ pkgs ? import { + inherit system; + }, system ? builtins.currentSystem +}: +let + name = "search-and-displace-core"; + phpPackage = import ./default.nix { + inherit pkgs system; + }; + nodePackage = import ./node.nix { + inherit pkgs system; + }; +in +phpPackage.override { + buildInputs = [ pkgs.graphviz ]; + removeComposerArtifacts = true; # Remove composer configuration files + + # Add below all lines of post installation instructions e.g ''npm install'' ? + postInstall = '' + ll ./ + ''; +}