feat: initial commit
This commit is contained in:
commit
2ec883ff80
12 changed files with 610 additions and 0 deletions
44
default.nix
Normal file
44
default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# SPDX-FileCopyrightText: 2025 Maurice Debray <maurice@dgnum.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: EUPL-1.2
|
||||
|
||||
{
|
||||
sprinkles ? null,
|
||||
}:
|
||||
|
||||
let
|
||||
# Bootstrap
|
||||
s = if sprinkles == null then import source.sprinkles else sprinkles;
|
||||
|
||||
# Source
|
||||
source = import ./lon.nix;
|
||||
|
||||
#Input
|
||||
input =
|
||||
self:
|
||||
let
|
||||
inherit (self) source;
|
||||
in
|
||||
{
|
||||
git-hooks = import source."git-hooks.nix";
|
||||
nix-reuse = (import source."nix-reuse" { }).override {
|
||||
input = _: { inherit (self.input) nixpkgs git-hooks; };
|
||||
};
|
||||
|
||||
nixpkgs = import source."nixpkgs" {
|
||||
config.allowAliases = false;
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
s.new {
|
||||
inherit input source;
|
||||
|
||||
output = self: {
|
||||
shells = {
|
||||
default = self.input.nixpkgs.callPackage ./shell { sprinkle = self; };
|
||||
};
|
||||
|
||||
src = ./.;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue