Skip to content

Commit

Permalink
Update all flake inputs and add texliveFull to the devShell
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana committed Oct 15, 2024
1 parent 9501fba commit 61673e7
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 51 deletions.
109 changes: 63 additions & 46 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};

nixpkgs.follows = "haskell-nix/nixpkgs";
nixpkgs.follows = "haskell-nix/nixpkgs-2405";

hackage = {
url = "github:input-output-hk/hackage.nix";
Expand Down
12 changes: 8 additions & 4 deletions nix/agda-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,19 @@
let
Agda = repoRoot.nix.agda-project.hsPkgs.Agda;

frankenAgda = (pkgs.symlinkJoin {
frankenAgdaBin = pkgs.symlinkJoin {
name = "agda";
version = Agda.identifier.version;
paths = [
Agda.components.exes.agda
Agda.components.exes.agda-mode
];
}) //
{
version = Agda.identifier.version;
};

frankenAgda = frankenAgdaBin // {
# Newer Agda is built with enableSeparateBinOutput, hence this hacky workaround.
# https://github.com/NixOS/nixpkgs/commit/294245f7501e0a8e69b83346a4fa5afd4ed33ab3
bin = frankenAgdaBin;
};

frankenPkgs =
Expand Down
1 change: 1 addition & 0 deletions nix/outputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ in
{
packages.plutus-metatheory-site = repoRoot.nix.plutus-metatheory-site;
packages.pre-commit-check = ghc96.pre-commit-check;
packages.agda-project = repoRoot.nix.agda-project.hsPkgs.Agda.components.exes.agda;
}

(lib.optionalAttrs (system == "x86_64-linux" || system == "x86_64-darwin")
Expand Down
3 changes: 3 additions & 0 deletions nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ in
repoRoot.nix.r-with-packages
pkgs.R

# LaTeX environment
pkgs.texliveFull

# Misc useful stuff, could make these commands but there's a lot already
pkgs.jekyll
pkgs.plantuml
Expand Down

0 comments on commit 61673e7

Please sign in to comment.