mirror of
https://github.com/vcmi/vcmi.git
synced 2026-03-11 00:19:49 +02:00
* Init for nix * Format and modularise * A bit more modularisation, and fixing the build process * Make none-flakey shell working
15 lines
276 B
Nix
15 lines
276 B
Nix
args @ {
|
|
pkgs ? import <nixpkgs> {},
|
|
src ? (with pkgs.lib.fileset;
|
|
toSource {
|
|
root = ./..;
|
|
fileset = gitTrackedWith {recurseSubmodules = true;} ./..;
|
|
}),
|
|
...
|
|
}:
|
|
pkgs.mkShell (import ./package.nix (args
|
|
// {
|
|
inherit pkgs;
|
|
inherit src;
|
|
}))
|