From cb7298a9d3bdde5dc4da4e815f3fd8800b598cf3 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Sun, 13 May 2018 21:43:03 +0200 Subject: [PATCH] Fix problem with non-existent composer-env on first generation --- src/Composer2Nix/Generator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer2Nix/Generator.php b/src/Composer2Nix/Generator.php index b3aaf27..bac2b4e 100644 --- a/src/Composer2Nix/Generator.php +++ b/src/Composer2Nix/Generator.php @@ -56,8 +56,8 @@ class Generator { $composerConfig = new ComposerConfig($configFile, $lockFile, $name, $noDev); Generator::generatePackagesExpression($outputFile, $composerConfig, $executable, $symlinkDependencies, $preferredInstall); - Generator::generateCompositionExpression($compositionFile, $outputFile, $composerEnvFile); Generator::copyComposerEnv($composerEnvFile, $noCopyComposerEnv); + Generator::generateCompositionExpression($compositionFile, $outputFile, $composerEnvFile); } } ?>