on master help sign in
Merge pull request #289 from obsidiansystems/nix-simplify

obelisk-asset-manifest: No need to re-callCabal2nix

commit3ec4f824fd0ae7d8e1a64bce0486184cc6bb7550 authorLuigy Leon <luichi.19@gmail.com> dateTue 30 Oct 2018, 16:17 (8 years ago) parent8e93cf37cade4e
1 file changed+1−3
default.nix+1−3
default.nix+1−3
@@ -147,9 +147,7 @@ in rec {
147147 processAssets = { src, packageName ? "obelisk-generated-static", moduleName ? "Obelisk.Generated.Static" }: pkgs.runCommand "asset-manifest" {
148148 inherit src;
149149 outputs = [ "out" "haskellManifest" "symlinked" ];
150− buildInputs = [
151− (reflex-platform.ghc.callCabal2nix "obelisk-asset-manifest" (hackGet ./lib/asset + "/manifest") {})
152− ];
150+ nativeBuildInputs = [ ghcObelisk.obelisk-asset-manifest ];
153151 } ''
154152 set -euo pipefail
155153 touch "$out"