Skip to content

Commit

Permalink
refactor: expose darwin systems as flake input
Browse files Browse the repository at this point in the history
I don’t think anyone actually cares but 🤷
  • Loading branch information
hraban committed Nov 29, 2024
1 parent 0ca2b92 commit 548672d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
17 changes: 10 additions & 7 deletions flake.lock

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

12 changes: 8 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
url = "github:hraban/flake-compat/fixed-output";
flake = false;
};
systems.url = "github:nix-systems/default-darwin";
flake-utils = {
url = "flake-utils";
inputs.systems.follows = "systems";
};
};

outputs = { self, nixpkgs, flake-utils, cl-nix-lite, ... }:
Expand Down Expand Up @@ -57,11 +62,10 @@
};
}
//
(with flake-utils.lib; eachSystem (with system; [ x86_64-darwin aarch64-darwin ]) (system:
with rec {
(with flake-utils.lib; eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system}.extend cl-nix-lite.overlays.default;
};
{
in {
packages = {
default = pkgs.callPackage ({
lispPackagesLite
Expand Down

0 comments on commit 548672d

Please sign in to comment.