haskell-editor-setup
haskell-editor-setup copied to clipboard
2d - Packaging for Debian OS using `.deb`
This might be generating a .deb file. You will have to look into it.
For generating .deb: https://hackage.haskell.org/package/cabal-debian
The levels at which NW.js system level installation could be done are: .deb file, nix configuration, cabal configuration or using Haskell code when program is run first time. You will have to think which option would be best and discuss it before you implement it.
[Bounty: 12 Euro]
On NixOS I run into:
[neo@nixos:~/Projects/haskell-editor-setup]$ cabal-debian --maintainer 'Razvan Flavius Panda <[email protected]>'
dpkg-query: error: failed to open package info file '/var/lib/dpkg/status' for reading: No such file or directory
cabal-debian: readCreateProcess: dpkg-query "-S" "/nix/store/39dxgd9y1y7fqlk6zc80jxp5any8qnf9-ghc-8.6.5-with-packages/bin/ghc" (exit 2): failed
Probably cause NixOS uses different folder location.