mirror of
https://github.com/perstarkse/minne.git
synced 2026-06-30 10:01:40 +02:00
dev: devenv deprecation
removed devenv in favor for plain nix, implemented using flake-parts
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user