Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2aa75893039d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 59846b92650a
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Aug 9, 2019

  1. elm-format: 0.8.1 -> 0.8.2

    avh4 committed Aug 9, 2019
    Copy the full SHA
    4865c8c View commit details

Commits on Aug 10, 2019

  1. Merge pull request #66364 from avh4/elm-format-0.8.2

    elm-format: 0.8.1 -> 0.8.2
    domenkozar authored Aug 10, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    59846b9 View commit details
Showing with 13 additions and 9 deletions.
  1. +13 −9 pkgs/development/compilers/elm/packages/elm-format.nix
22 changes: 13 additions & 9 deletions pkgs/development/compilers/elm/packages/elm-format.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
{ mkDerivation, fetchgit, ansi-terminal, ansi-wl-pprint, base, binary
, bytestring, Cabal, cmark, containers, directory, filepath, free
, HUnit, indents, json, mtl, optparse-applicative, parsec, process
, bytestring, cmark, containers, directory, filepath, free, HUnit
, indents, json, mtl, optparse-applicative, parsec, process
, QuickCheck, quickcheck-io, split, stdenv, tasty, tasty-golden
, tasty-hunit, tasty-quickcheck, text
}:
mkDerivation {
pname = "elm-format";
version = "0.8.1";
version = "0.8.2";
src = fetchgit {
url = "https://github.com/avh4/elm-format";
sha256 = "0p1dy1m6illsl7i04zsv5jqw7i4znv7pfpdfm53zy0k7mq0fk09j";
rev = "89694e858664329e3cbdaeb71b15c4456fd739ff";
sha256 = "0ly37fszrfviwqgrww57ikdcr7i8lcpczhqm8xqp5s7mrlpdxv7z";
rev = "ab3627cce01e5556b3fe8c2b5e3d92b80bfc74af";
};
postPatch = ''
sed -i "s|desc <-.*||" ./Setup.hs
sed -i "s|gitDescribe = .*|gitDescribe = \\\\\"0.8.1\\\\\"\"|" ./Setup.hs
mkdir -p ./generated
cat <<EOHS > ./generated/Build_elm_format.hs
module Build_elm_format where
gitDescribe :: String
gitDescribe = "0.8.2"
EOHS
'';
isLibrary = true;
isLibrary = false;
isExecutable = true;
setupHaskellDepends = [ base Cabal directory filepath process ];
libraryHaskellDepends = [
ansi-terminal ansi-wl-pprint base binary bytestring containers
directory filepath free indents json mtl optparse-applicative