Browse Source

composer update

master
Lucian Pricop 2 years ago
parent
commit
d3ae103dcf
  1. 1
      .gitignore
  2. 7
      composer.json
  3. 22
      sandd-core.nix

1
.gitignore

@ -5,6 +5,7 @@
/public/css/app.css
/storage/*.key
/vendor
composer.lock
.env
.env.backup
.phpunit.result.cache

7
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": {

22
sandd-core.nix

@ -0,0 +1,22 @@
{ pkgs ? import <nixpkgs> {
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 ./
'';
}
Loading…
Cancel
Save