{ pkgs ? import { } }: with pkgs; mkShell { buildInputs = [ (agda.withPackages [ (agdaPackages.standard-library.overrideAttrs (oldAttrs: { version = "2.0"; src = fetchFromGitHub { repo = "agda-stdlib"; owner = "agda"; rev = "v2.0"; hash = "sha256-TjGvY3eqpF+DDwatT7A78flyPcTkcLHQ1xcg+MKgCoE="; }; })) (agdaPackages.agda-categories.overrideAttrs (oldAttrs : { version = "0.2.0"; src = fetchFromGitHub { repo = "agda-categories"; owner = "agda"; rev = "a1c797e935432702d25fd729802aeb155b423761"; hash = "sha256-p9rrQq3aFSG14sJ65aYDvAoPkTsa/UmdkkxD5suhClY="; # sha256-GQuQxzYSQxAIVSJ1vf0blRC0juoxAqD1AHW66H/6NSk= }; # without this nix might use a wrong version of the stdlib to try and typecheck agda-categories buildInputs = [ (agda.withPackages [ (agdaPackages.standard-library.overrideAttrs (oldAttrs: { version = "2.0"; src = fetchFromGitHub { repo = "agda-stdlib"; owner = "agda"; rev = "v2.0"; hash = "sha256-TjGvY3eqpF+DDwatT7A78flyPcTkcLHQ1xcg+MKgCoE="; }; })) ]) ]; GHCRTS = "-M6G"; })) ]) ]; shellHook = '' # ... ''; }