refactor(nix)!: more minmal shell; remove package (#1025)

This commit is contained in:
Isabel authored and GitHub committed 2024-06-27 20:29:58 +01:00
1 parent 23ecff2518
commit 49dc543fee
5 files changed
+34 -135

No files matched your search

+15 -20
View File
@@ -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 { };
});
};
}