Commit 7d46b12d authored by Millian Poquet's avatar Millian Poquet
Browse files

nix: use base names instead of pinned ones

This avoid a redundancy and helps maintainability.
Without this, inconsisent names may appear when we change the override base.
parent b4ba47a5
......@@ -6,7 +6,7 @@
let
self = rec {
pybatsim-core = kapack.pybatsim-core.overrideAttrs (attrs: rec {
name = "${kapack.pybatsim-core.name}-local";
name = "${attrs.name}-local";
src = kapack.pkgs.lib.sourceByRegex ./pybatsim-core [
"^pyproject\.toml$"
"^poetry\.lock$"
......@@ -27,7 +27,7 @@ let
];
});
pybatsim-functional = kapack.pybatsim-functional.overrideAttrs (attrs: rec {
name = "${kapack.pybatsim-functional.name}-local";
name = "${attrs.name}-local";
src = kapack.pkgs.lib.sourceByRegex ./pybatsim-functional [
"^pyproject\.toml$"
"^poetry\.lock$"
......
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