Skip to content

Commit

Permalink
fix(nix): use callPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Sep 4, 2023
1 parent ca413e1 commit 53401e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

outputs = {nixpkgs, ...} @ inputs: let
outputs = {nixpkgs, ...}: let
systems = ["aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux"];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in {
packages = forAllSystems (system: let
pkgs = nixpkgs.legacyPackages.${system};
in rec {
catppuccin-vsc = import ./. {inherit pkgs;};
catppuccin-vsc = pkgs.callPackage ./. {};
default = catppuccin-vsc;
});
};
Expand Down

0 comments on commit 53401e8

Please sign in to comment.