Add miso-from-html to shell

This commit is contained in:
towards-a-new-leftypol 2023-12-18 21:14:10 -05:00
parent 088c3f7d90
commit f4fa338b6e
2 changed files with 6 additions and 4 deletions

View File

@ -1,12 +1,15 @@
{ pkgs ? import ./nixpkgs.nix }:
{ nixpkgs ? import <nixpkgs> {}, }:
let
pkgs = import ./nixpkgs.nix { nixpkgs = nixpkgs; } ;
inherit (pkgs.haskell.packages) ghcjs;
drv = ghcjs.callCabal2nix "chandlr" ./. {};
env = drv.env.overrideAttrs (oldAttrs: {
buildInputs = oldAttrs.buildInputs ++ [
pkgs.haskell.packages.ghc.cabal-install
nixpkgs.haskellPackages.miso-from-html
];
});

View File

@ -1,7 +1,6 @@
{ nixpkgs }:
let
bootstrap = import <nixpkgs> {};
nixpkgs-src = bootstrap.fetchFromGitHub {
nixpkgs-src = nixpkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "3fd87ad0073fd1ef71a8fcd1a1d1a89392c33d0a";