Comments (9)
Hmm, the only hackage package I see with data-dir set to a non-empty string are js-flot and js-jquery, which set them to just "javascript". Oh, haddock-api sets it to "resources", and haste-compiler sets it to "lib".
from cabal-debian.
haskell-devscripts passes --datasubdir=$(CABAL_PACKAGE)
. Why do you think it is wrong?
from cabal-debian.
So far I've been confusing where to find them in the source tree with where to put them in the installed binary package tree.
from cabal-debian.
I think I just need to stop lowercasing $(CABAL_PACKAGE) in Debian/Debianize/Input.hs
from cabal-debian.
Not really. The variable CABAL_PACKAGE is used for the foo in libghc-foo-dev (maybe a badly named variable, but it’s grown code...), so lower-casing this is correct.
Why do you have to know about the data directory at all? Doesn’t haskell-devscripts take care of that?
from cabal-debian.
Cabal-debian builds the debian/*.install files, which contain the files listed in the data-files field of the cabal file. It also adds files to the install files for other reasons.
from cabal-debian.
Oh, I wasn't going to leave it upper case for package names, just for the building the path to the directory containing the installed data files.
from cabal-debian.
Right, but I’m confused (independent of whether its a good idea or not) about why this is a cabal-debian
bug, and not one against haskell-devscripts.
from cabal-debian.
This is confusing and I think it is resolved. So I'll close it.
from cabal-debian.
Related Issues (20)
- Multi-Arch field not supported
- Test suite failure from Stackage HOT 5
- Needs a cross referencing between command line options and lens names
- can't detect gtk2hs-buildtools because it is looking for gtk2hsC2hs.pc HOT 4
- Generated versioned dependencies on libraries provided by GHC HOT 9
- src/Debian/Debianize/Goodies.hs:165:22: No instance for (Show (D.Server -> Int)) HOT 1
- Compile failure with GHC 7.8/7.6 HOT 7
- cabal-debian does not detect pkg-config HOT 2
- cabal-debian "confuses" library name and apt dependency HOT 2
- support build-profile notation for test-only build dependencies
- Add support for cabal custom-setup
- runInteractiveProcess: exec: does not exist HOT 2
- Prelude.read: no parse HOT 7
- build-depends for executables not handled correctly HOT 2
- release 4.38.2 to hackage HOT 5
- spurious linking against libffi and libatomic1 HOT 3
- cabal-debian fails for custom location of the ghc HOT 4
- cabal-debian 5.0.2 build failure HOT 1
- stackage: `verify-package cabal-debian` complains about tabs and misnamed cabal package
- Simple example for creating a Debian package HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cabal-debian.