mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
build(nix): rm nixpkgs overlay
it shouldn't really be our job to define an overlay. it doesn't do anything for us, afaict, and is trivial to implement for downstream users of the flake if they so desire. also the overlay doesn't even overlay anything, there is no package called `bcachefs` in nixpkgs. Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
This commit is contained in:
parent
5e9d1953a2
commit
0fcdd67bf0
25
flake.nix
25
flake.nix
@ -13,29 +13,16 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{ nixpkgs, utils, ... }:
|
||||||
self,
|
utils.lib.eachDefaultSystem (
|
||||||
nixpkgs,
|
|
||||||
utils,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
overlays.default = final: prev: { bcachefs = final.callPackage ./build.nix { }; };
|
|
||||||
}
|
|
||||||
// utils.lib.eachDefaultSystem (
|
|
||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs { inherit system; };
|
||||||
inherit system;
|
|
||||||
overlays = [ self.overlays.default ];
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
packages = {
|
packages.default = packages.bcachefs-tools;
|
||||||
inherit (pkgs) bcachefs;
|
packages.bcachefs-tools = pkgs.callPackage ./build.nix { };
|
||||||
bcachefs-fuse = pkgs.bcachefs.override { fuseSupport = true; };
|
packages.bcachefs-tools-fuse = packages.bcachefs-tools.override { fuseSupport = true; };
|
||||||
default = pkgs.bcachefs;
|
|
||||||
};
|
|
||||||
|
|
||||||
formatter = pkgs.nixfmt-rfc-style;
|
formatter = pkgs.nixfmt-rfc-style;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user