forked from catppuccin/userstyles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(nix)!: more minmal shell; remove package (catppuccin#1025)
- Loading branch information
1 parent
23ecff2
commit 49dc543
Showing
5 changed files
with
34 additions
and
135 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
{ | ||
description = "Catppuccin userstyles"; | ||
|
||
inputs = { | ||
nixpkgs.url = "github:NixOS/nixpkgs"; | ||
flake-utils.url = "github:numtide/flake-utils"; | ||
nix-deno.url = "github:nekowinston/nix-deno"; | ||
}; | ||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | ||
|
||
outputs = { | ||
nixpkgs, | ||
flake-utils, | ||
... | ||
} @ inputs: | ||
flake-utils.lib.eachDefaultSystem (system: let | ||
pkgs = import nixpkgs { | ||
inherit system; | ||
overlays = [inputs.nix-deno.overlays.default]; | ||
}; | ||
in { | ||
packages.default = pkgs.callPackage ./nix/default.nix {}; | ||
|
||
devShells.default = pkgs.callPackage ./nix/shell.nix {}; | ||
}); | ||
outputs = | ||
{ nixpkgs, ... }: | ||
let | ||
forAllSystems = | ||
function: | ||
nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed ( | ||
system: function nixpkgs.legacyPackages.${system} | ||
); | ||
in | ||
{ | ||
devShells = forAllSystems (pkgs: { | ||
default = pkgs.callPackage ./shell.nix { }; | ||
}); | ||
}; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
deno, | ||
typos, | ||
mkShellNoCC, | ||
nodePackages, | ||
... | ||
}: | ||
mkShellNoCC { | ||
packages = [ | ||
deno | ||
typos | ||
nodePackages.prettier | ||
]; | ||
} |