Created
September 12, 2022 09:36
-
-
Save drupol/aa54c05ed75b6b742c778371b5d742c7 to your computer and use it in GitHub Desktop.
flake.nix failing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "A PHP development environment"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, flake-utils, nixpkgs }: | |
flake-utils.lib.eachDefaultSystem | |
(system: | |
let | |
pkgs = import nixpkgs { | |
inherit system; | |
config = { | |
allowUnfree = true; | |
}; | |
}; | |
in | |
{ | |
packages = { | |
default = pkgs.mkShellNoCC { | |
name = "devShellPHP"; | |
buildInputs = [ | |
(pkgs.php.buildEnv { | |
extensions = ({ enabled, all }: enabled ++ (with all; [ | |
oci8 | |
])); | |
}) | |
]; | |
}; | |
}; | |
} | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment