Skip to content

Commit

Permalink
Use inherit
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Jul 5, 2024
1 parent 2b99a9a commit 5f67a95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
];
perSystem = { pkgs, ... }:
let
agdaPackages = pkgs.callPackage ./nix/initial-packages.nix { Agda = pkgs.haskellPackages.Agda; nixpkgs = inputs.nixpkgs; };
agdaPackages = pkgs.callPackage ./nix/initial-packages.nix {
inherit (pkgs.haskellPackages) Agda;
inherit (inputs) nixpkgs;
};
buildInputs = with agdaPackages;
[
formal-ledger
Expand Down

0 comments on commit 5f67a95

Please sign in to comment.