mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-02 17:31:35 +00:00
add a check so that the flake can be used with submodules as well
This commit is contained in:
parent
914ce6e144
commit
2dd9d79398
@ -72,7 +72,11 @@
|
||||
flake = {
|
||||
overlays.default =
|
||||
lib.composeManyExtensions [
|
||||
((import nix/overlay.nix) { multiversal_src = multiversal; })
|
||||
((import nix/overlay.nix) {
|
||||
multiversal_src = if builtins.pathExists ./multiversal/make-multiverse.rb
|
||||
then ./multiversal
|
||||
else multiversal;
|
||||
})
|
||||
(import nix/universal.nix)
|
||||
(import nix/samples.nix)
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user