mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
chromium: Fix package name for browser derivation.
The packageName attribute defines the output path and binary name of the product that's going to be created, so we really want to have "chromium" instead of "chromium-browser" here, especially for the resulting binary. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
35944168e4
commit
18234b6768
@ -4,6 +4,7 @@ with stdenv.lib;
|
||||
|
||||
mkChromiumDerivation (base: rec {
|
||||
name = "chromium-browser";
|
||||
packageName = "chromium";
|
||||
buildTargets = [ "chrome" ];
|
||||
|
||||
installPhase = ''
|
||||
|
@ -91,7 +91,7 @@ let
|
||||
];
|
||||
|
||||
# build paths and release info
|
||||
packageName = extraAttrs.name;
|
||||
packageName = extraAttrs.packageName or extraAttrs.name;
|
||||
buildType = "Release";
|
||||
buildPath = "out/${buildType}";
|
||||
libExecPath = "$out/libexec/${packageName}";
|
||||
|
Loading…
Reference in New Issue
Block a user