Skip to content

Commit

Permalink
Change Nix flake derivation names
Browse files Browse the repository at this point in the history
  • Loading branch information
mk3z committed Jul 17, 2024
1 parent 96feadf commit ca2a8ef
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
pkgs.stdenv.mkDerivation {
inherit name doCheck checkPhase storepath;

pname = "elmerfem";
pname = "${name}-devel";

src = nix-filter {
root = self;
Expand Down Expand Up @@ -123,10 +123,10 @@
];
};

nogui = {doCheck ? false}:
default = {doCheck ? false}:
basePkg {
inherit doCheck;
name = "elmerfem";
name = "elmer";
nativeBuildInputs = [];
buildInputs = [];
cmakeFlags = [];
Expand All @@ -135,7 +135,7 @@
gui = {doCheck ? false}:
basePkg {
inherit doCheck;
name = "elmerfem-gui";
name = "elmer-gui";

nativeBuildInputs = [pkgs.libsForQt5.wrapQtAppsHook];

Expand All @@ -161,7 +161,7 @@
ice = {doCheck ? false}:
basePkg {
inherit doCheck;
name = "elmerice";
name = "elmer-ice";

nativeBuildInputs = [];

Expand Down Expand Up @@ -217,14 +217,13 @@
};
in {
checks = {
nogui = nogui {doCheck = true;};
default = default {doCheck = true;};
gui = gui {doCheck = true;};
ice = ice {doCheck = true;};
};

packages = {
default = nogui {};
nogui = nogui {};
default = default {};
gui = gui {};
ice = ice {};
};
Expand Down

0 comments on commit ca2a8ef

Please sign in to comment.