mirror of
https://codeberg.org/icewind/mill-scale.git
synced 2026-06-03 18:04:09 +02:00
init
This commit is contained in:
commit
f1fa085ef3
4 changed files with 276 additions and 0 deletions
23
flake.nix
Normal file
23
flake.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# mill-scale -- Another rust module for flakelight
|
||||
# Copyright (C) 2024 Robin Appelman <robin@icewind.nl>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
{
|
||||
description = "Another rust module for flakelite";
|
||||
inputs = {
|
||||
flakelight.url = "github:nix-community/flakelight";
|
||||
crane.url = "github:ipetkov/crane";
|
||||
rust-overlay = {
|
||||
url = "github:oxalica/rust-overlay";
|
||||
inputs.nixpkgs.follows = "flakelight/nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = { flakelight, crane, rust-overlay, ... }: flakelight ./. {
|
||||
imports = [ flakelight.flakelightModules.flakelightModule ];
|
||||
flakelightModule = { lib, ... }: {
|
||||
imports = [ ./mill-scale.nix ];
|
||||
inputs.crane = lib.mkDefault crane;
|
||||
inputs.rust-overlay = lib.mkDefault rust-overlay;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue