mirror of
https://github.com/perstarkse/minne.git
synced 2026-06-30 10:01:40 +02:00
1f0c7d4e51
removed devenv in favor for plain nix, implemented using flake-parts
34 lines
651 B
Nix
34 lines
651 B
Nix
# Evaluates shared build context once per system for downstream flake-parts modules.
|
|
{
|
|
inputs,
|
|
ortVersion,
|
|
toolchainFile,
|
|
...
|
|
}:
|
|
{
|
|
perSystem =
|
|
{ system, ... }:
|
|
let
|
|
pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
config = {
|
|
allowUnfree = true;
|
|
permittedInsecurePackages = [ "minio-2025-10-15T17-29-55Z" ];
|
|
};
|
|
};
|
|
in
|
|
{
|
|
_module.args.pkgs = pkgs;
|
|
_module.args.minneCtx = import ./minne-lib.nix {
|
|
inherit
|
|
inputs
|
|
pkgs
|
|
system
|
|
ortVersion
|
|
toolchainFile
|
|
;
|
|
src = inputs.self;
|
|
};
|
|
};
|
|
}
|