nix: include package buildInputs in devShells
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
4b7d616862
commit
3d963b9f67
|
@ -34,7 +34,13 @@
|
|||
|
||||
devShells = forAllSystems (system: {
|
||||
default = nixpkgsFor.${system}.mkShell {
|
||||
buildInputs = with nixpkgsFor.${system}; [ self.packages.${system}.fortify ];
|
||||
buildInputs =
|
||||
with nixpkgsFor.${system};
|
||||
[ self.packages.${system}.fortify ] ++ self.packages.${system}.fortify.buildInputs;
|
||||
|
||||
shellHook = ''
|
||||
which fortify
|
||||
'';
|
||||
};
|
||||
});
|
||||
};
|
||||
|
|
|
@ -274,7 +274,9 @@ in
|
|||
link = source: "[ -d '${source}' ] && ln -sv '${source}' $out/share || true";
|
||||
in
|
||||
shares
|
||||
++ optional (launcher.method != "simple" && (launcher.capability.wayland || launcher.capability.x11)) (
|
||||
++
|
||||
optional (launcher.method != "simple" && (launcher.capability.wayland || launcher.capability.x11))
|
||||
(
|
||||
pkgs.runCommand "${name}-share" { } ''
|
||||
mkdir -p $out/share
|
||||
${link "${pkg}/share/applications"}
|
||||
|
|
Loading…
Reference in New Issue