Remove unnecessary overlay from PHP template
This commit is contained in:
parent
f89d066e0c
commit
a303071d90
|
@ -14,17 +14,11 @@
|
||||||
|
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
overlays = [
|
pkgs = import nixpkgs { inherit system; };
|
||||||
(self: super: rec {
|
|
||||||
php = super.php;
|
|
||||||
composer = super.phpPackages.composer;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
pkgs = import nixpkgs { inherit overlays system; };
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [ composer php ];
|
buildInputs = with pkgs; [ phpPackages.composer php ];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
echo "`${pkgs.php}/bin/php --version`"
|
echo "`${pkgs.php}/bin/php --version`"
|
||||||
|
|
Loading…
Reference in a new issue