Verified Commit 675b34ee authored by Raphaël Bleuse's avatar Raphaël Bleuse
Browse files

Update Nix files to reflect new architecture

parent 5414b272
......@@ -5,30 +5,25 @@
let
self = rec {
pybatsim = kapack.pybatsim.overrideAttrs (attrs: rec {
name = "${kapack.pybatsim.name}-local";
pybatsim-core = kapack.pybatsim-core.overrideAttrs (attrs: rec {
name = "${kapack.pybatsim-core.name}-local";
src = kapack.pkgs.lib.sourceByRegex ./. [
"^pyproject\.toml"
"^poetry\.lock"
"^README\.rst"
"^batsim"
"^batsim/.*\.py"
"^batsim/cmds"
"^batsim/cmds/.*\.py"
"^batsim/sched"
"^batsim/sched/.*\.py"
"^batsim/sched/algorithms"
"^batsim/sched/algorithms/.*\.py"
"^batsim/sched/workloads"
"^batsim/sched/workloads/.*\.py"
"^batsim/sched/workloads/models"
"^batsim/sched/workloads/models/.*\.py"
"^batsim/tools"
"^batsim/tools/.*\.py"
"^schedulers"
"^schedulers/.*\.py"
"^schedulers/unMaintained"
"^schedulers/unMaintained/.*\.py"
"^pyproject\.toml$"
"^poetry\.lock$"
"^README\.rst$"
"^src$"
"^src/pybatsim$"
"^src/pybatsim/.\+\.py$"
"^src/pybatsim/batsim$"
"^src/pybatsim/batsim/.\+\.py$"
"^src/pybatsim/batsim/cmds$"
"^src/pybatsim/batsim/cmds/.\+\.py$"
"^src/pybatsim/batsim/tools$"
"^src/pybatsim/batsim/tools/.\+\.py$"
"^src/pybatsim/schedulers$"
"^src/pybatsim/schedulers/.\+\.py$"
"^src/pybatsim/schedulers/unMaintained$"
"^src/pybatsim/schedulers/unMaintained/.\+\.py$"
];
});
};
......
{ kapack ? import
(fetchTarball "https://github.com/oar-team/nur-kapack/archive/master.tar.gz")
{}
}:
let
self = rec {
pybatsim-functional = kapack.pybatsim-functional.overrideAttrs (attrs: rec {
name = "${kapack.pybatsim-functional.name}-local";
src = kapack.pkgs.lib.sourceByRegex ./. [
"^pyproject\.toml$"
"^poetry\.lock$"
"^src$"
"^src/pybatsim_functional$"
"^src/pybatsim_functional/.\+\.py$"
"^src/pybatsim_functional/algorithms$"
"^src/pybatsim_functional/algorithms/.\+\.py$"
"^src/pybatsim_functional/schedulers$"
"^src/pybatsim_functional/schedulers/.\+\.py$"
"^src/pybatsim_functional/schedulers/unmaintained$"
"^src/pybatsim_functional/schedulers/unmaintained/.\+\.py$"
"^src/pybatsim_functional/tools$"
"^src/pybatsim_functional/tools/.\+\.py$"
"^src/pybatsim_functional/workloads$"
"^src/pybatsim_functional/workloads/.\+\.py$"
"^src/pybatsim_functional/workloads/models$"
"^src/pybatsim_functional/workloads/models/.\+\.py$"
];
});
};
in
self
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment