* Re: stack: update to 2.3.1, lts-15.5
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
@ 2020-05-28 12:29 ` pullmoll
2020-05-31 2:20 ` pullmoll
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-28 12:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 7599 bytes --]
New comment by pullmoll on void-packages repository
https://github.com/void-linux/void-packages/pull/22377#issuecomment-635315105
Comment:
The patch to disambiguate the `LTS`, `Nightly`, and `SnapName` gets the build farther than before.
This is the current error message for `src/Stack/Config.hs`:
```
[ 68 of 109] Compiling Stack.Config ( src/Stack/Config.hs, /builddir/stack-2.3.1/dist-newstyle/build/x86_64-linux/ghc-8.8.3/stack-2.3.1/build/Stack/Config.o )
src/Stack/Config.hs:158:32: error:
• Variable not in scope:
nightlySnapshotLocation
:: time-1.9.3:Data.Time.Calendar.Days.Day -> RawSnapshotLocation
• Perhaps you meant ‘defaultSnapshotLocation’ (imported from Stack.Prelude)
|
158 | ARLatestNightly -> nightlySnapshotLocation . snapshotsNightly <$> getSnapshots
| ^^^^^^^^^^^^^^^^^^^^^^^
src/Stack/Config.hs:163:40: error:
• Variable not in scope:
ltsSnapshotLocation :: Int -> Int -> RawSnapshotLocation
• Perhaps you meant one of these:
‘snapshotLocation’ (imported from Stack.Prelude),
‘smwSnapshotLocation’ (imported from Stack.Types.SourceMap)
|
163 | Just y -> return $ ltsSnapshotLocation x y
| ^^^^^^^^^^^^^^^^^^^
src/Stack/Config.hs:169:37: error:
• Variable not in scope:
ltsSnapshotLocation :: IntMap.Key -> Int -> RawSnapshotLocation
• Perhaps you meant one of these:
‘snapshotLocation’ (imported from Stack.Prelude),
‘smwSnapshotLocation’ (imported from Stack.Types.SourceMap)
|
169 | in return $ ltsSnapshotLocation x y
| ^^^^^^^^^^^^^^^^^^^
src/Stack/Config.hs:177:24: error:
• Variable not in scope:
ltsSnapshotLocation :: IntMap.Key -> Int -> RawSnapshotLocation
• Perhaps you meant one of these:
‘snapshotLocation’ (imported from Stack.Prelude),
‘smwSnapshotLocation’ (imported from Stack.Types.SourceMap)
|
177 | let mlts = uncurry ltsSnapshotLocation <$>
| ^^^^^^^^^^^^^^^^^^^
src/Stack/Config.hs:179:23: error:
• Variable not in scope:
nightlySnapshotLocation
:: time-1.9.3:Data.Time.Calendar.Days.Day -> RawSnapshotLocation
• Perhaps you meant ‘defaultSnapshotLocation’ (imported from Stack.Prelude)
|
179 | pure $ fromMaybe (nightlySnapshotLocation (snapshotsNightly snapshots)) mlts
| ^^^^^^^^^^^^^^^^^^^^^^^
src/Stack/Config.hs:374:6: error:
• Couldn't match expected type ‘RIO env a’
with actual type ‘(PantryConfig -> RIO env0 a0) -> RIO env0 a0’
• Probable cause: ‘withPantryConfig’ is applied to too few arguments
In a stmt of a 'do' block:
withPantryConfig
pantryRoot
hsc
(maybe HpackBundled HpackCommand
$ getFirst configMonoidOverrideHpack)
clConnectionCount
(fromFirst defaultCasaRepoPrefix configMonoidCasaRepoPrefix)
defaultCasaMaxPerRequest
(\ configPantryConfig
-> initUserStorage
(configStackRoot </> relFileStorage)
(\ configUserStorage -> inner Config {..}))
In the expression:
do mstackWorkEnv <- liftIO $ lookupEnv stackWorkEnvVar
let mproject = ...
configAllowLocals = ...
configWorkDir0 <- maybe
(return relDirStackWork) (liftIO . parseRelDir) mstackWorkEnv
let configWorkDir = fromFirst configWorkDir0 configMonoidWorkDir
configLatestSnapshot
= fromFirst
"https://s3.amazonaws.com/haddock.stackage.org/snapshots.json"
configMonoidLatestSnapshot
....
....
In an equation for ‘configFromConfigMonoid’:
configFromConfigMonoid
configStackRoot
configUserConfigPath
configResolver
configProject
ConfigMonoid {..}
inner
= do mstackWorkEnv <- liftIO $ lookupEnv stackWorkEnvVar
let mproject = ...
....
configWorkDir0 <- maybe
(return relDirStackWork) (liftIO . parseRelDir) mstackWorkEnv
....
• Relevant bindings include
inner :: Config -> RIO env a (bound at src/Stack/Config.hs:193:36)
configFromConfigMonoid :: Path Abs Dir
-> Path Abs File
-> Maybe AbstractResolver
-> ProjectConfig (Project, Path Abs File)
-> ConfigMonoid
-> (Config -> RIO env a)
-> RIO env a
(bound at src/Stack/Config.hs:191:1)
|
374 | withPantryConfig
| ^^^^^^^^^^^^^^^^...
src/Stack/Config.hs:381:32: error:
• Couldn't match expected type ‘RawSnapshotLocation’
with actual type ‘RIO env a’
• In the expression:
initUserStorage
(configStackRoot </> relFileStorage)
(\ configUserStorage -> inner Config {..})
In the 7th argument of ‘withPantryConfig’, namely
‘(\ configPantryConfig
-> initUserStorage
(configStackRoot </> relFileStorage)
(\ configUserStorage -> inner Config {..}))’
In a stmt of a 'do' block:
withPantryConfig
pantryRoot
hsc
(maybe HpackBundled HpackCommand
$ getFirst configMonoidOverrideHpack)
clConnectionCount
(fromFirst defaultCasaRepoPrefix configMonoidCasaRepoPrefix)
defaultCasaMaxPerRequest
(\ configPantryConfig
-> initUserStorage
(configStackRoot </> relFileStorage)
(\ configUserStorage -> inner Config {..}))
• Relevant bindings include
inner :: Config -> RIO env a (bound at src/Stack/Config.hs:193:36)
configFromConfigMonoid :: Path Abs Dir
-> Path Abs File
-> Maybe AbstractResolver
-> ProjectConfig (Project, Path Abs File)
-> ConfigMonoid
-> (Config -> RIO env a)
-> RIO env a
(bound at src/Stack/Config.hs:191:1)
|
381 | (\configPantryConfig -> initUserStorage
| ^^^^^^^^^^^^^^^...
src/Stack/Config.hs:383:39: error:
• Couldn't match expected type ‘PantryConfig’
with actual type ‘Stack.Prelude.SnapName’
• In the ‘configPantryConfig’ field of a record
In the first argument of ‘inner’, namely ‘Config {..}’
In the expression: inner Config {..}
|
383 | (\configUserStorage -> inner Config {..}))
| ^^^^^^^^^^^
=> ERROR: stack-2.3.1_1: do_build: 'HOME=$PWD cabal new-build ${makejobs} --flag disable-git-info' exited with 1
=> ERROR: in do_build() at srcpkgs/stack/template:24
```
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: stack: update to 2.3.1, lts-15.5
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
2020-05-28 12:29 ` pullmoll
@ 2020-05-31 2:20 ` pullmoll
2020-05-31 2:44 ` [PR PATCH] [Updated] " pullmoll
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-31 2:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 254 bytes --]
New comment by pullmoll on void-packages repository
https://github.com/void-linux/void-packages/pull/22377#issuecomment-636410604
Comment:
Trying with info from [this link](https://github.com/commercialhaskell/stack/issues/5298) detailing the problem.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] stack: update to 2.3.1, lts-15.5
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
2020-05-28 12:29 ` pullmoll
2020-05-31 2:20 ` pullmoll
@ 2020-05-31 2:44 ` pullmoll
2020-05-31 2:46 ` pullmoll
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-31 2:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 440 bytes --]
There is an updated pull request by pullmoll against master on the void-packages repository
https://github.com/pullmoll/void-packages stack
https://github.com/void-linux/void-packages/pull/22377
stack: update to 2.3.1, lts-15.5
This still fails to build with errors in src/Stack/Config.hs,
so this is WIP and not yet ready to merge.
[ci skip]
A patch file from https://github.com/void-linux/void-packages/pull/22377.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-stack-22377.patch --]
[-- Type: text/x-diff, Size: 1840 bytes --]
From 516316a03bff238a08fd0bd47f27928f3db90e7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Thu, 28 May 2020 14:25:09 +0200
Subject: [PATCH] stack: update to 2.3.1, lts-15.5
Using "cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'" to
stick to the successful build report on hackage. In this case:
https://hackage.haskell.org/package/stack-2.3.1/reports/1
[ci skip]
---
srcpkgs/stack/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/stack/template b/srcpkgs/stack/template
index 38817375fa2..fb43114dfb6 100644
--- a/srcpkgs/stack/template
+++ b/srcpkgs/stack/template
@@ -1,8 +1,8 @@
# Template file for 'stack'
pkgname=stack
-version=2.3.0.1
+version=2.3.1
revision=1
-_stackage="lts-15.4"
+_stackage="lts-15.5"
hostmakedepends="cabal-install pkg-config unzip"
makedepends="zlib-devel pcre-devel"
depends="git gmp-devel iana-etc"
@@ -12,15 +12,15 @@ license="BSD-3-Clause"
homepage="https://haskellstack.org"
distfiles="https://github.com/commercialhaskell/${pkgname}/archive/v${version}.tar.gz
https://www.stackage.org/${_stackage}/cabal.config>cabal.config-${_stackage}"
-checksum="a303a144dd3a37479e5b0fbf14d24e8d25d510bb038e413f14680ddb91036fd6
- 4147e6738cf6ef38cfd48048ef0992fb00e786068592e359fdb804e3d9ed4781"
+checksum="6701ddfc6d0be0c2bf0f75c84375e41923c5617f04222c5e582e7011c7f8fb83
+ 6faba729a0c8baf4c00eaa9e6431a846ff4ab398155dcc3558676d850cf42546"
skip_extraction="cabal.config-${_stackage}"
nocross=yes
nopie_files="/usr/bin/stack"
do_build() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
- HOME=$PWD cabal new-update
+ HOME=$PWD cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'
HOME=$PWD cabal new-build ${makejobs} --flag disable-git-info
}
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: stack: update to 2.3.1, lts-15.5
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
` (2 preceding siblings ...)
2020-05-31 2:44 ` [PR PATCH] [Updated] " pullmoll
@ 2020-05-31 2:46 ` pullmoll
2020-05-31 11:04 ` [PR PATCH] [Updated] " pullmoll
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-31 2:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
New comment by pullmoll on void-packages repository
https://github.com/void-linux/void-packages/pull/22377#issuecomment-636412421
Comment:
Successful build for x86_64.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] stack: update to 2.3.1, lts-15.5
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
` (3 preceding siblings ...)
2020-05-31 2:46 ` pullmoll
@ 2020-05-31 11:04 ` pullmoll
2020-05-31 11:08 ` [PR PATCH] [Updated] stack: update to 2.3.1 pullmoll
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-31 11:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
There is an updated pull request by pullmoll against master on the void-packages repository
https://github.com/pullmoll/void-packages stack
https://github.com/void-linux/void-packages/pull/22377
stack: update to 2.3.1, lts-15.5
Using "cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'" to
stick to the successful build report on hackage. In this case:
https://hackage.haskell.org/package/stack-2.3.1/reports/1
[ci skip]
A patch file from https://github.com/void-linux/void-packages/pull/22377.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-stack-22377.patch --]
[-- Type: text/x-diff, Size: 1734 bytes --]
From efaa51fbb2d640bdea4c70804069633c04fb7e3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Thu, 28 May 2020 14:25:09 +0200
Subject: [PATCH] stack: update to 2.3.1
Using "cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'" to
stick to the successful build report on hackage. In this case:
https://hackage.haskell.org/package/stack-2.3.1/reports/1
[ci skip]
---
srcpkgs/stack/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/stack/template b/srcpkgs/stack/template
index 38817375fa2..a5743d970f9 100644
--- a/srcpkgs/stack/template
+++ b/srcpkgs/stack/template
@@ -1,6 +1,6 @@
# Template file for 'stack'
pkgname=stack
-version=2.3.0.1
+version=2.3.1
revision=1
_stackage="lts-15.4"
hostmakedepends="cabal-install pkg-config unzip"
@@ -12,15 +12,15 @@ license="BSD-3-Clause"
homepage="https://haskellstack.org"
distfiles="https://github.com/commercialhaskell/${pkgname}/archive/v${version}.tar.gz
https://www.stackage.org/${_stackage}/cabal.config>cabal.config-${_stackage}"
-checksum="a303a144dd3a37479e5b0fbf14d24e8d25d510bb038e413f14680ddb91036fd6
- 4147e6738cf6ef38cfd48048ef0992fb00e786068592e359fdb804e3d9ed4781"
+checksum="6701ddfc6d0be0c2bf0f75c84375e41923c5617f04222c5e582e7011c7f8fb83
+ 6faba729a0c8baf4c00eaa9e6431a846ff4ab398155dcc3558676d850cf42546"
skip_extraction="cabal.config-${_stackage}"
nocross=yes
nopie_files="/usr/bin/stack"
do_build() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
- HOME=$PWD cabal new-update
+ HOME=$PWD cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'
HOME=$PWD cabal new-build ${makejobs} --flag disable-git-info
}
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] stack: update to 2.3.1
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
` (4 preceding siblings ...)
2020-05-31 11:04 ` [PR PATCH] [Updated] " pullmoll
@ 2020-05-31 11:08 ` pullmoll
2020-05-31 11:13 ` pullmoll
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-31 11:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
There is an updated pull request by pullmoll against master on the void-packages repository
https://github.com/pullmoll/void-packages stack
https://github.com/void-linux/void-packages/pull/22377
stack: update to 2.3.1
Using "cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'" to
stick to the successful build report on hackage. In this case:
https://hackage.haskell.org/package/stack-2.3.1/reports/1
[ci skip]
A patch file from https://github.com/void-linux/void-packages/pull/22377.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-stack-22377.patch --]
[-- Type: text/x-diff, Size: 1679 bytes --]
From 4acc2b038c0a3958de7e27036db9f0928431a32b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Thu, 28 May 2020 14:25:09 +0200
Subject: [PATCH] stack: update to 2.3.1
Using "cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'" to
stick to the successful build report on hackage. In this case:
https://hackage.haskell.org/package/stack-2.3.1/reports/1
[ci skip]
---
srcpkgs/stack/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/stack/template b/srcpkgs/stack/template
index 38817375fa2..d33a2404a8f 100644
--- a/srcpkgs/stack/template
+++ b/srcpkgs/stack/template
@@ -1,6 +1,6 @@
# Template file for 'stack'
pkgname=stack
-version=2.3.0.1
+version=2.3.1
revision=1
_stackage="lts-15.4"
hostmakedepends="cabal-install pkg-config unzip"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://haskellstack.org"
distfiles="https://github.com/commercialhaskell/${pkgname}/archive/v${version}.tar.gz
https://www.stackage.org/${_stackage}/cabal.config>cabal.config-${_stackage}"
-checksum="a303a144dd3a37479e5b0fbf14d24e8d25d510bb038e413f14680ddb91036fd6
+checksum="6701ddfc6d0be0c2bf0f75c84375e41923c5617f04222c5e582e7011c7f8fb83
4147e6738cf6ef38cfd48048ef0992fb00e786068592e359fdb804e3d9ed4781"
skip_extraction="cabal.config-${_stackage}"
nocross=yes
@@ -20,7 +20,7 @@ nopie_files="/usr/bin/stack"
do_build() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
- HOME=$PWD cabal new-update
+ HOME=$PWD cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'
HOME=$PWD cabal new-build ${makejobs} --flag disable-git-info
}
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: stack: update to 2.3.1
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
` (5 preceding siblings ...)
2020-05-31 11:08 ` [PR PATCH] [Updated] stack: update to 2.3.1 pullmoll
@ 2020-05-31 11:13 ` pullmoll
2020-05-31 11:23 ` pullmoll
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-31 11:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
New comment by pullmoll on void-packages repository
https://github.com/void-linux/void-packages/pull/22377#issuecomment-636456618
Comment:
Keeping `lts-15.4` for now as `build_style=haskell-stack` packages use that too.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: stack: update to 2.3.1
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
` (6 preceding siblings ...)
2020-05-31 11:13 ` pullmoll
@ 2020-05-31 11:23 ` pullmoll
2020-05-31 11:57 ` [PR PATCH] [Updated] " pullmoll
2020-05-31 12:25 ` [PR PATCH] [Merged]: " pullmoll
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-31 11:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
New comment by pullmoll on void-packages repository
https://github.com/void-linux/void-packages/pull/22377#issuecomment-636456618
Comment:
Keeping `lts-15.4` for now as `build_style=haskell-stack` packages use that too.
Do we need to revbump these packages when stack is updated?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] stack: update to 2.3.1
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
` (7 preceding siblings ...)
2020-05-31 11:23 ` pullmoll
@ 2020-05-31 11:57 ` pullmoll
2020-05-31 12:25 ` [PR PATCH] [Merged]: " pullmoll
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-31 11:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
There is an updated pull request by pullmoll against master on the void-packages repository
https://github.com/pullmoll/void-packages stack
https://github.com/void-linux/void-packages/pull/22377
stack: update to 2.3.1
Using "cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'" to
stick to the successful build report on hackage. In this case:
https://hackage.haskell.org/package/stack-2.3.1/reports/1
[ci skip]
A patch file from https://github.com/void-linux/void-packages/pull/22377.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-stack-22377.patch --]
[-- Type: text/x-diff, Size: 1679 bytes --]
From 8841d7dd9afe9e2f34e4db7b1ca5f15db30c49ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Thu, 28 May 2020 14:25:09 +0200
Subject: [PATCH] stack: update to 2.3.1
Using "cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'" to
stick to the successful build report on hackage. In this case:
https://hackage.haskell.org/package/stack-2.3.1/reports/1
[ci skip]
---
srcpkgs/stack/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/stack/template b/srcpkgs/stack/template
index 38817375fa2..d33a2404a8f 100644
--- a/srcpkgs/stack/template
+++ b/srcpkgs/stack/template
@@ -1,6 +1,6 @@
# Template file for 'stack'
pkgname=stack
-version=2.3.0.1
+version=2.3.1
revision=1
_stackage="lts-15.4"
hostmakedepends="cabal-install pkg-config unzip"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://haskellstack.org"
distfiles="https://github.com/commercialhaskell/${pkgname}/archive/v${version}.tar.gz
https://www.stackage.org/${_stackage}/cabal.config>cabal.config-${_stackage}"
-checksum="a303a144dd3a37479e5b0fbf14d24e8d25d510bb038e413f14680ddb91036fd6
+checksum="6701ddfc6d0be0c2bf0f75c84375e41923c5617f04222c5e582e7011c7f8fb83
4147e6738cf6ef38cfd48048ef0992fb00e786068592e359fdb804e3d9ed4781"
skip_extraction="cabal.config-${_stackage}"
nocross=yes
@@ -20,7 +20,7 @@ nopie_files="/usr/bin/stack"
do_build() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
- HOME=$PWD cabal new-update
+ HOME=$PWD cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'
HOME=$PWD cabal new-build ${makejobs} --flag disable-git-info
}
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Merged]: stack: update to 2.3.1
2020-05-28 12:26 [PR PATCH] stack: update to 2.3.1, lts-15.5 pullmoll
` (8 preceding siblings ...)
2020-05-31 11:57 ` [PR PATCH] [Updated] " pullmoll
@ 2020-05-31 12:25 ` pullmoll
9 siblings, 0 replies; 11+ messages in thread
From: pullmoll @ 2020-05-31 12:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
There's a merged pull request on the void-packages repository
stack: update to 2.3.1
https://github.com/void-linux/void-packages/pull/22377
Description:
Using "cabal update 'hackage.haskell.org,2020-04-29T20:25:58Z'" to
stick to the successful build report on hackage. In this case:
https://hackage.haskell.org/package/stack-2.3.1/reports/1
[ci skip]
^ permalink raw reply [flat|nested] 11+ messages in thread