Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gltf-loader.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ common shared
-Wredundant-constraints
build-depends:
base >=4.14.0 && <5,
linear ^>=1.22,
microlens ^>=0.4.13,
microlens-platform ^>=0.4.3,
linear ^>=1.21,
microlens ^>=0.4.12,
microlens-platform ^>=0.4.2,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a problem with any of this, but maybe it would be better to use proper ranges? eg, `linear >= 1.21 && <1.23

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I misunderstood the meaning of ^>=.

Yes, I think we would need to expand that out to support 1.21 to 1.23

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having had a bit more time, I think we should leave microlens, microlens-platform as you have done there. For linear, let's make it 1.21 && <2, since it seems to mostly use the minor version component

rio ^>=0.1.22

library
Expand Down Expand Up @@ -146,5 +146,5 @@ test-suite gltf-loader-test
bytestring >=0.10.12 && <0.12,
gltf-codec ^>=0.1.0,
gltf-loader,
hspec >=2.10.10 && <3,
hspec >=2.9.7 && <3,
unordered-containers ^>=0.2.19
77 changes: 77 additions & 0 deletions stack-9.2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# This file was automatically generated by 'stack init'
#
# Some commonly used options have been documented as comments in this file.
# For advanced use and comprehensive documentation of the format, please see:
# https://docs.haskellstack.org/en/stable/yaml_configuration/

# A warning or info to be displayed to the user on config load.
user-message: |
Warning (added by new or init): Some packages were found to be incompatible with the resolver and have been left commented out in the packages section.
You can omit this message by removing it from stack.yaml

# Resolver to choose a 'specific' stackage snapshot or a compiler version.
# A snapshot resolver dictates the compiler version and the set of packages
# to be used for project dependencies. For example:
#
# resolver: lts-22.7
# resolver: nightly-2024-01-20
# resolver: ghc-9.6.4
#
# The location of a snapshot can be provided as a file or url. Stack assumes
# a snapshot provided as a file might change, whereas a url resource does not.
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2023-01-01.yaml
resolver: lts-20.26

# User packages to be built.
# Various formats can be used as shown in the example below.
#
# packages:
# - some-directory
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
# subdirs:
# - auto-update
# - wai
packages:
- .
# The following packages have been ignored due to incompatibility with the
# snapshot compiler, dependency conflicts with other packages
# or unsatisfied dependencies.
#- .

# Dependency packages to be pulled from upstream that are not in the resolver.
# These entries can reference officially published versions as well as
# forks / in-progress versions pinned to a git hash. For example:
#
# extra-deps:
# - acme-missiles-0.3
# - git: https://github.com/commercialhaskell/stack.git
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
#
extra-deps:
- gltf-codec-0.1.0.4

# Override default flag values for local packages and extra-deps
# flags: {}

# Extra package databases containing global packages
# extra-package-dbs: []

# Control whether we use the GHC we find on the path
# system-ghc: true
#
# Require a specific version of Stack, using version ranges
# require-stack-version: -any # Default
# require-stack-version: ">=2.15"
#
# Override the architecture used by Stack, especially useful on Windows
# arch: i386
# arch: x86_64
#
# Extra directories used by Stack for building
# extra-include-dirs: [/path/to/dir]
# extra-lib-dirs: [/path/to/dir]
#
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
Loading