You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{inputs={ctl-nix.url="github:LovelaceAcademy/ctl-nix";nixpkgs.follows="ctl-nix/nixpkgs";purs-nix.url="github:purs-nix/purs-nix";utils.url="github:ursi/flake-utils";};outputs={self,utils, ... }@inputs:
let# TODO add missing arm to match standard systems# right now purs-nix is only compatible with x86_64-linuxsystems=["x86_64-linux"];overlays=withinputs.ctl-nix.inputs.ctl.overlays;[# needed by CTLpurescript];inutils.apply-systems{inheritinputssystemsoverlays;}({system,pkgs,ctl-nix, ... }:
let# Use purs from CTL instead from nixpkgspurs=pkgs.easy-ps.purs-0_14_5;purs-nix=inputs.purs-nix{inheritsystem;overlays=[ctl-nix];};ps=purs-nix.purs{purescript=purs;# Project dir (src, test)dir=./.;# Dependenciesdependencies=withpurs-nix.ps-pkgs;[cardano-transaction-lib];# FFI dependencies# foreign.Main.node_modules = [];};ps-command=ps.command{};in{packages.default=ps.output{};devShells.default=pkgs.mkShell{packages=withpkgs;[easy-ps.purescript-language-serverpursps-command];};});# --- Flake Local Nix Configuration ----------------------------nixConfig={# This sets the flake to use nix cache.# Nix should ask for permission before using it,# but remove it here if you do not want it to.extra-substituters=["https://cache.nixos.org""https://cache.iog.io""https://klarkc.cachix.org"];extra-trusted-public-keys=["cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=""hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=""klarkc.cachix.org-1:R+z+m4Cq0hMgfZ7AQ42WRpGuHJumLLx3k0XhwpNFq9U="];allow-import-from-derivation="true";};}
The text was updated successfully, but these errors were encountered:
right now purs-nix is only compatible with x86_64-linux
nix-templates/ctl/flake.nix
Line 11 in 37cd079
The text was updated successfully, but these errors were encountered: