Remove Composer artifacts
`nix-build override.nix`
This commit is contained in:
parent
988e5ee5e6
commit
220232637c
1 changed files with 15 additions and 0 deletions
15
nix/composer2nix/override.nix
Normal file
15
nix/composer2nix/override.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
pkgs ? import <nixpkgs> {
|
||||
inherit system;
|
||||
},
|
||||
system ? builtins.currentSystem,
|
||||
}:
|
||||
|
||||
let
|
||||
phpPackage = import ./default.nix {
|
||||
inherit pkgs system;
|
||||
};
|
||||
in
|
||||
phpPackage.override {
|
||||
removeComposerArtifacts = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue