Skip to content

Commit

Permalink
feat(nix): using nix (CLI) from master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
r17x committed Oct 17, 2024
1 parent 056c776 commit 693d104
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 5 deletions.
104 changes: 100 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
nixpkgs-stable.url = "github:NixOS/nixpkgs/release-24.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs.follows = "nixpkgs-unstable";
### -- nix related tools
nixd.url = "github:nix-community/nixd";
nixd.inputs.nixpkgs.follows = "nixpkgs";

## -- Languages
ocaml-overlay.url = "github:nix-ocaml/nix-overlays";
Expand Down
3 changes: 2 additions & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
let
overlays = [
inputs.ocaml-overlay.overlays.default
inputs.nixd.overlays.default
] ++ lib.attrValues self.overlays;
in
rec {
Expand All @@ -33,7 +34,7 @@
inherit (pkgs) stdenv;
}
// {
package = branches.stable.nix;
package = branches.master.nix;
};

pkgs = import inputs.nixpkgs {
Expand Down
1 change: 1 addition & 0 deletions nix/overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
});

nixfmt = prev.nixfmt-rfc-style;

sketchybar-app-font = prev.stdenv.mkDerivation {
name = "sketchybar-app-font";
src = inputs.sketchybar-app-font;
Expand Down

0 comments on commit 693d104

Please sign in to comment.