Skip to content
Snippets Groups Projects
Unverified Commit 5301deec authored by Marijan Petričević's avatar Marijan Petričević
Browse files

flake/horizon-gen-nix: add cabal-install runtimeInput

parent 905c3168
No related merge requests found
......@@ -31,11 +31,16 @@
horizon-platform-prev = get-flake horizon-platform;
horizon-gen-nix = writeBashBin "horizon-gen-nix" ''
${horizon-platform-prev.legacyPackages.${system}.horizon-gen-nix}/bin/horizon-gen-nix;
${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt pkgs/*
${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt initial-packages.nix
'';
horizon-gen-nix = pkgs.writeShellApplication {
name = "horizon-gen-nix";
runtimeInputs = with pkgs; [ ghc cabal-install ];
text = ''
cabal update
${horizon-platform-prev.legacyPackages.${system}.horizon-gen-nix}/bin/horizon-gen-nix;
${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt pkgs/*
${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt initial-packages.nix
'';
};
haskellLib = pkgs.haskell.lib.compose;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment