haskell-editor-setup icon indicating copy to clipboard operation
haskell-editor-setup copied to clipboard

2d - Packaging for Debian OS using `.deb`

Open freeman42x opened this issue 5 years ago • 1 comments

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]

freeman42x avatar Apr 11 '20 00:04 freeman42x

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.

freeman42x avatar Apr 11 '20 09:04 freeman42x