Skip to content

Commit 9c32fbb

Browse files
committed
nix: Import quartz
This will allow us to modularize the flake in the future. For now just import the eachSystem lib utility, but soon we can also omit the fetchFromGithub for quartz.
1 parent 6774a62 commit 9c32fbb

File tree

2 files changed

+38
-4
lines changed

2 files changed

+38
-4
lines changed

flake.lock

Lines changed: 36 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
description = "Drag and drop your files directly out of the terminal";
33
inputs = {
44
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
5+
quartz.url = "github:vimpostor/quartz";
56
};
67

7-
outputs = { self, nixpkgs }:
8-
let eachSystem = with nixpkgs.lib; f: foldAttrs mergeAttrs {} (map (s: mapAttrs (_: v: { ${s} = v; }) (f s)) systems.flakeExposed);
9-
in eachSystem (system:
8+
outputs = { self, nixpkgs, quartz }: quartz.lib.eachSystem (system:
109
let
1110
pkgs = nixpkgs.legacyPackages.${system};
1211
stdenvs = [ { name = "gcc"; pkg = pkgs.gcc14Stdenv; } { name = "clang"; pkg = pkgs.llvmPackages_18.stdenv; } ];

0 commit comments

Comments
 (0)