Commit graph

58 commits

Author SHA1 Message Date
Sander van der Burg
b5057d78ca Include hidden files 2022-02-20 23:42:02 +01:00
Sander van der Burg
7ac17abdf2 Make error handling more robust 2022-02-19 01:20:43 +01:00
Sander van der Burg
37e4198762
Merge pull request #28 from SuperSandro2000/patch-1
Move unzip to nativeBuildInputs
2022-02-18 22:31:13 +01:00
Sandro
da2dfce578
Move unzip to nativeBuildInputs
Otherwise the wrong binary is provided when cross compiling
2022-02-08 12:19:49 +01:00
Sander van der Burg
bfaaa7851f Bump build-time dependency versions 2022-01-28 23:30:05 +01:00
Sander van der Burg
6cdc8ed840 Formatting fixes 2022-01-28 23:29:47 +01:00
Sander van der Burg
6799ebbe92
Merge pull request #20 from jbboehr/php-arg-in-default
Accept php arg in default.nix
2022-01-28 17:18:53 +01:00
John Boehr
029aeb997d
Change generation to accept php and phpPackages arguemnt in default.nix 2021-04-10 18:38:19 -07:00
Sander van der Burg
9983c6fafb Bump dependency versions and regenerate 2021-02-27 13:58:49 +01:00
Sander van der Burg
6fe8f203e5
Merge pull request #12 from christian-blades-cb/fixup-phpnotfound
call php scripts via php interpreter instead of relying on shebang
2021-02-27 13:51:03 +01:00
Sander van der Burg
0c221a6cee Add option to configure extra command-line parameters propagated to composer 2021-02-26 22:36:18 +01:00
Sander van der Burg
441c34c4b0 Modify the generator to pass lib as a parameter, always add a trailing newline to the generated expressions 2021-02-18 19:35:55 +01:00
Sander van der Burg
3be0974747
Merge pull request #18 from helsinki-systems/stdenv-lib
stdenv.lib -> lib
2021-02-18 10:05:51 +01:00
ajs124
373fcc8b90 stdenv.lib -> lib 2021-02-18 03:10:23 +01:00
Sander van der Burg
972f66ab44 Stop using the deprecated URL constructs in the Nix expression language 2021-02-16 22:50:20 +01:00
Christian Blades
7e01664164 call php scripts via php interpreter instead of relying on shebang 2020-06-04 13:59:23 -04:00
Sander van der Burg
57cecaf5d9 Add release job 2020-04-01 19:55:02 +02:00
Sander van der Burg
ce82d551fc Fix build product path 2020-03-31 23:54:02 +02:00
Sander van der Burg
2a62b62120 Fix dev build job 2020-03-31 23:16:47 +02:00
Sander van der Burg
c26debdb99 Add some basic testcases 2020-03-31 23:08:24 +02:00
Sander van der Burg
065f519ee8 Update dependencies and bootstrap again 2020-03-31 21:59:31 +02:00
Sander van der Burg
4fe6f66ecb Use composer directly from Nixpkgs for end user package installations 2020-03-31 21:22:17 +02:00
Sander van der Burg
5ffce63100 Add build instructions, fix some formatting inconsistencies 2020-03-16 22:41:17 +01:00
Sander van der Burg
5d86498b1b
Merge pull request #9 from mayflower/nixpkgs-composer
Use composer from nixpkgs
2020-03-14 23:52:36 +01:00
Sander van der Burg
5d58b3674d
Merge pull request #6 from nocoolnametom/nocoolnametom-patch-autoloader
Change autoloader requirement for bin file
2020-03-14 23:43:29 +01:00
Robin Gloster
df84c8e4f6
Run of composer update
`composer update` was run with composer2nix als run on itself.
2019-09-30 22:48:42 +02:00
Robin Gloster
a9911c1933
Use composer from nixpkgs
The composer pinned here, was outdated and broken with PHP 7.3, the
default in NixOS 19.09
2019-09-30 22:48:41 +02:00
Tom Doggett
1bd0468812
Change autoloader requirement for bin file
Now the autoloader can be found within the repo itself, within a project dependency, or within a globally required copy.

To be honest, the code is just copied from a number of similar bin-providing composer projects.
2018-10-26 10:14:32 +01:00
Sander van der Burg
2fb157acaf Fix override example 2018-06-29 22:58:30 +02:00
Sander van der Burg
cce1630d5b Make all composer-env functions entirely overridable, not mkDerivation 2018-06-25 23:00:08 +02:00
Sander van der Burg
f0aa6db6b6 Clean up function interface 2018-06-24 22:27:59 +02:00
Sander van der Burg
8453940d79 Display a warning if the vendor/ folder exists in the project directory 2018-06-12 21:15:08 +02:00
Sander van der Burg
cb7298a9d3 Fix problem with non-existent composer-env on first generation 2018-05-13 21:43:03 +02:00
Sander van der Burg
803c6aa078 Add installation section 2018-05-10 16:49:10 +02:00
Sander van der Burg
c205febd60 Correctly compose relative paths to the composition expression 2018-05-10 16:40:39 +02:00
Sander van der Burg
0615fec7f3 Bump composer version to 1.6.5 2018-05-10 15:19:11 +02:00
Sander van der Burg
2f130084b5 Only create bin folder when it does not exists + some API documentation fixes 2017-10-25 20:51:35 +02:00
Sander van der Burg
db4c6eefdf Divide the package expression into sub classes. Separate fetching from the expression generation. 2017-10-24 23:24:59 +02:00
Sander van der Burg
aa74ee8cb5 - Use NixASTNode from PNDP
- Name dependencies sources
- Separate fetching the metadata from the AST generation
2017-10-23 23:47:45 +02:00
Sander van der Burg
19ec217ead - Add Hydra release expression
- Document proper way to configure PHP in NixOS
2017-10-09 22:23:18 +02:00
Sander van der Burg
dbcfc9b931 - Fix generation bugs in the other dependency types
- Bootstrap composer2nix
2017-10-02 22:32:24 +02:00
Sander van der Burg
6638286486 - Document remove composer artifacts option
- Patch the shebangs of all executables in vendor/bin
- Compose empty composer.lock file if none is prevent to prevent composer from consulting the registry
2017-09-26 21:51:25 +02:00
Sander van der Burg
a457596b5f - Modify bootstrap script to reuse composerEnv from package
- Prefix package names with composer-
2017-09-24 22:46:14 +02:00
Sander van der Burg
1dc4359009 Add some API documentation 2017-09-24 22:20:02 +02:00
Sander van der Burg
adf0a9c460 Make the code structure more modular 2017-09-22 22:24:57 +02:00
Sander van der Burg
4c20068b41 Add option that makes it possible to skip the deployment of development dependencies even if they are included in composer.lock 2017-09-21 22:19:53 +02:00
Sander van der Burg
67805db37f - Add homepage and license attributes to metadata of the package
- Patch the shebangs of the executables
2017-09-20 23:23:32 +02:00
Sander van der Burg
914f54f33d Fix lock file + documentation tweaks 2017-09-19 23:50:21 +02:00
Sander van der Burg
930f8062c8 - Extended installed.json generation to include development packages
- Make build function overridable
- Document some overriding use-cases
2017-09-19 20:19:55 +02:00
Sander van der Burg
f9829e8b9e - Add option to deploy third party package CLI tools
- Fix bug in generation of tarball downloads
- Added some documentation
2017-09-18 22:47:28 +02:00