add aeson dep
parent
464def86d3
commit
fc7b7158a4
|
@ -1,2 +0,0 @@
|
|||
{ nixpkgs ? import <nixpkgs> { }, compiler ? "ghc865" }:
|
||||
nixpkgs.pkgs.haskell.packages.${compiler}.callPackage ./elm-swapper.nix { }
|
|
@ -60,7 +60,8 @@ executable elm-swapper
|
|||
-- Other library packages from which modules are imported.
|
||||
build-depends: base ^>=4.12.0.0,
|
||||
directory ^>=1.3.3.0,
|
||||
filepath ^>=1.4.2.1
|
||||
filepath ^>=1.4.2.1,
|
||||
aeson
|
||||
|
||||
-- Directories containing source files.
|
||||
hs-source-dirs: src
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ mkDerivation, base, directory, filepath, stdenv }:
|
||||
{ mkDerivation, aeson, base, directory, filepath, stdenv }:
|
||||
mkDerivation {
|
||||
pname = "elm-swapper";
|
||||
version = "0.1.0.0";
|
||||
src = ./.;
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
executableHaskellDepends = [ base directory filepath ];
|
||||
executableHaskellDepends = [ aeson base directory filepath ];
|
||||
description = "automatically dispatch to the right version of Elm";
|
||||
license = "unknown";
|
||||
hydraPlatforms = stdenv.lib.platforms.none;
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{ compiler ? "ghc865" }:
|
||||
let pkgs = import <nixpkgs> { };
|
||||
in { elm-swapper = pkgs.haskell.packages.${compiler}.callPackage ./elm-swapper.nix { }; }
|
|
@ -1,4 +1,4 @@
|
|||
{ nixpkgs ? import <nixpkgs> { }, compiler ? "ghc865" }:
|
||||
(import ./default.nix { inherit nixpkgs compiler; }).env.overrideAttrs (attrs: {
|
||||
(import ./release.nix { inherit compiler; }).elm-swapper.env.overrideAttrs (attrs: {
|
||||
buildInputs = attrs.buildInputs ++ [ nixpkgs.git nixpkgs.elmPackages.elm nixpkgs.cabal2nix nixpkgs.cabal-install ];
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue