make naming in flake.nix consistent

This commit is contained in:
Valentin Boettcher 2024-11-13 12:12:40 -05:00
parent e913dd1080
commit 15117c51a1
No known key found for this signature in database
GPG key ID: E034E12B7AF56ACE

View file

@ -15,7 +15,7 @@
flake-utils.lib.eachDefaultSystem (system: flake-utils.lib.eachDefaultSystem (system:
let let
# see https://github.com/nix-community/poetry2nix/tree/master#api for more functions and examples. # see https://github.com/nix-community/poetry2nix/tree/master#api for more functions and examples.
hiroPlotUtils = { poetry2nix, lib }: poetry2nix.mkPoetryApplication { hiroplotutils = { poetry2nix, lib }: poetry2nix.mkPoetryApplication {
projectDir = self; projectDir = self;
overrides = poetry2nix.overrides.withDefaults (final: super: overrides = poetry2nix.overrides.withDefaults (final: super:
lib.mapAttrs lib.mapAttrs
@ -35,13 +35,13 @@
overlays = [ overlays = [
poetry2nix.overlays.default poetry2nix.overlays.default
(final: _: { (final: _: {
hiroPlotUtils = final.callPackage hiroPlotUtils { }; hiroplotutils = final.callPackage hiroplotutils { };
}) })
]; ];
}; };
in in
{ {
packages.default = pkgs.hiroPlotUtils; packages.default = pkgs.hiroplotutils;
devShells = { devShells = {
# Shell for app dependencies. # Shell for app dependencies.
# #