refactor(nix)!: more minmal shell; remove package (#1025)
This commit is contained in:
1 parent
23ecff2518
commit
49dc543fee
5 files changed
+34
-135
No files matched your search
@@ -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 { };
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user