Commit Graph

1058 Commits

Author SHA1 Message Date
Brian Leung
059c5c18f7
translators/cabal-freeze: Look for the suffix "cabal.project.freeze" 2022-10-22 02:21:41 -07:00
DavHau
e7c7077f22
Merge pull request #328 from leungbk/cabal-freeze
Add cabal-freeze support
2022-10-22 11:15:05 +02:00
DavHau
5aa0a95472
Merge pull request #335 from impl/nodejs-support-npm-shrinkwrap
nodejs: support npm-shrinkwrap.json for package-lock translator
2022-10-22 10:56:37 +02:00
Yusuf Bera Ertan
421c623275
chore: update devshell input to fix devshell name not being set correctly 2022-10-21 23:54:56 +03:00
Yusuf Bera Ertan
3bffd09cae
fix: add disableIfdWarning to config interface 2022-10-21 22:31:56 +03:00
Noah Fontes
dd9a2cb04a
nodejs: support npm-shrinkwrap.json for package-lock translator
npm-shrinkwrap.json
(https://docs.npmjs.com/cli/v8/configuring-npm/npm-shrinkwrap-json) is
an alternative to package-lock.json that follows the same format. It is
typically used with applications (rather than libraries) distributed via
npm's registry. This change detects its presence and feeds it through
the package-lock translator if it exists.

Per the npm documentation, npm-shrinkwrap.json takes precedence over
package-lock.json.
2022-10-20 21:15:32 -07:00
DavHau
74143c8c62
Merge pull request #332 from nix-community/feat/modules-config
feat: validate config using modules
2022-10-20 16:16:48 +02:00
Yusuf Bera Ertan
8895d21f0a
fix: args.config -> argsConfig 2022-10-20 16:18:31 +03:00
Yusuf Bera Ertan
dea20d928a
refactor: remove _loaded, add a new loadedConfig arg to src/default.nix 2022-10-20 16:14:35 +03:00
DavHau
fe34615951
Merge pull request #333 from nix-community/feat/modules-indexers
feat: use modules system for indexers
2022-10-20 13:53:42 +02:00
DavHau
ec8fcd67e5
Merge pull request #334 from tgunnoe/fix/libusb
Fix: libusb renamed to libusb1 in nixpkgs
2022-10-20 13:35:15 +02:00
tgunnoe
dfac9708d9 Fix: libusb renamed to libusb1 in nixpkgs 2022-10-18 10:44:05 -04:00
DavHau
1e0d20959a
docs: add development roundup (july - september) (#326)
Co-authored-by: Yusuf Bera Ertan <y.bera003.06@protonmail.com>
2022-10-17 16:06:21 +00:00
Yusuf Bera Ertan
6ba4244374
feat: use modules system for indexers 2022-10-17 17:10:15 +03:00
Brian Leung
318586a750
Add git to unit-test environment 2022-10-17 04:29:07 -07:00
Brian Leung
68c23526e5
translators/cabal-freeze: add example flake 2022-10-17 04:29:06 -07:00
Brian Leung
542035c7ed
translators/cabal-freeze: Init 2022-10-17 04:29:06 -07:00
Brian Leung
7ae9c675d3
Haskell: add subsystemAttrs.cabalFlags 2022-10-17 04:29:06 -07:00
Brian Leung
598daf6b7b
Haskell utils: account for buildTools in dependencies 2022-10-17 04:29:06 -07:00
DavHau
45c26065ea
tests/unit/default.nix: work around undetected root directory 2022-10-17 04:29:06 -07:00
DavHau
d01318f14d
translators/stack-lock: check for "stack.yaml.lock" suffix 2022-10-16 19:12:06 -07:00
Brian Leung
4cc1b4c2fa
translators/stack-lock: use version-specific hidden-package map 2022-10-16 19:12:06 -07:00
Brian Leung
f1a53653c3
Haskell utils: add an attrset mapping GHC version to hidden packages 2022-10-16 19:12:06 -07:00
Brian Leung
539a5cad94
Haskell utils: improve error message when unable to find Cabal info 2022-10-16 19:12:06 -07:00
Brian Leung
a38e0e0dbb
translators/stack-lock: Simplify extractors.dependencies 2022-10-16 19:12:06 -07:00
Brian Leung
e675298a33
translators/stack-lock: Move getDependencyNames to Haskell utils.nix 2022-10-16 19:12:02 -07:00
DavHau
fa708ced6f
Merge pull request #325 from hsjobeki/docs/improve
docs: improve structure
2022-10-16 18:12:34 +02:00
hsjobeki
b05fdf2a40 docs/SUMMARY.md: remove empty draft sections. 2022-10-16 15:40:16 +02:00
Yusuf Bera Ertan
7be6110eaf
refactor: simplify default config in default.nix 2022-10-15 23:09:08 +03:00
Yusuf Bera Ertan
27033981c3
fix: dont set a default for _loaded 2022-10-15 23:04:45 +03:00
Yusuf Bera Ertan
484ca10f32
feat: validate config using modules 2022-10-15 22:52:43 +03:00
DavHau
cfd0f9f368
Merge pull request #331 from nix-community/hotfix-indexers
fix: indexers broken due to removal of ./src/lib/modules.nix
2022-10-15 14:56:43 +02:00
DavHau
54548bbaf4 fix: indexers broken due to removal of ./src/lib/modules.nix 2022-10-15 14:56:23 +02:00
DavHau
19b63ebd0a
Merge pull request #330 from nix-community/indexers
Indexers improvements (multiple branches, log translatio errors, haskell improvements)
2022-10-15 00:27:27 +02:00
DavHau
c3bbf04ca6 Merge remote-tracking branch 'origin/main' into indexers 2022-10-15 00:22:47 +02:00
DavHau
c9cbf5d27f
Merge pull request #329 from nix-community/haskell-inputs
chore: manage all-cabal-json via flake input
2022-10-15 00:22:24 +02:00
DavHau
26e4adffcc Merge remote-tracking branch 'origin/main' into indexers 2022-10-15 00:21:18 +02:00
DavHau
380d2fb752 refactor: pass flake inputs via inputs instead of all-cabal-json 2022-10-15 00:05:42 +02:00
DavHau
48f490a2ed chore: manage all-cabal-json via flake input 2022-10-14 18:10:35 +02:00
DavHau
0cf5483645
Merge pull request #323 from nix-community/refactor/modules
refactor: cleanup old code, refactor some module stuff
2022-10-14 15:38:30 +02:00
DavHau
2634d9f4a9 Revert "haskell: enable jailbreak"
This reverts commit 271d891d40.
2022-10-14 12:08:34 +02:00
DavHau
2c4ca7505c haskell: stop including hspec and QuickCheck by default 2022-10-14 12:06:52 +02:00
DavHau
bd9173e14a fix: example for indexers 2022-10-14 00:40:36 +02:00
DavHau
b3102cb87e indexers: fix bug when creating directory for log 2022-10-14 00:40:36 +02:00
DavHau
9ea5cc8647 indexer: libraries-io: fix ordering of packages for hackage 2022-10-14 00:40:36 +02:00
DavHau
ec2e3456f2 indexer: libraries-io: pick stable releases only 2022-10-14 00:40:36 +02:00
DavHau
d9b0d15eef indexers: log translation errors 2022-10-14 00:40:36 +02:00
DavHau
de60de001e indexers: hackage indexer: fix cabal update 2022-10-14 00:40:36 +02:00
DavHau
81f8d2d125 indexers: allow multiple indexers on different branches 2022-10-14 00:40:36 +02:00
DavHau
5f937899e9 fix comment in simple-haskell builder 2022-10-14 00:40:20 +02:00