Created
August 30, 2023 07:27
-
-
Save lstrojny/47bff48346995bf3d606bdf32b43b560 to your computer and use it in GitHub Desktop.
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 = "ufff"; | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |
phps.url = "github:loophp/nix-shell"; | |
systems.url = "github:nix-systems/default"; | |
}; | |
outputs = inputs@{ self, flake-parts, systems, ... }: | |
flake-parts.lib.mkFlake { inherit inputs; } { | |
systems = import systems; | |
perSystem = { pkgs, system, ... }: { | |
pkgs = import inputs.nixpkgs { | |
inherit system; | |
overlays = [ inputs.phps.overlays.default ]; | |
}; | |
# Run `nix fmt` to reformat the nix files | |
formatter = pkgs.nixfmt; | |
devShells.default = pkgs.mkShellNoCC { | |
name = "ufff"; | |
buildInputs = [ pkgs.php-env82 pkgs.sphinx (pkgs.python3.withPackages (p: with p; [ sphinx-rtd-theme ])) ]; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the resulting error: