1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-03-11 00:19:49 +02:00
Files
vcmi/nix/shell.nix
Balint66 e3fef43b15 Add nix development shell and packaging (#6575)
* Init for nix

* Format and modularise

* A bit more modularisation, and fixing the build process

* Make none-flakey shell working
2026-01-07 20:26:55 +02:00

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;
}))