flutter: revert unnecessary extension extraction
Signed-off-by: Sunghoon Kang <me@hoon.dev>
This commit is contained in:
parent
77618bd28b
commit
37a10c3cb7
1 changed files with 1 additions and 2 deletions
|
@ -135,8 +135,7 @@ let
|
|||
mkArtifactDerivation = { platform ? null, variant ? null, subdirectory ? null, archive, ... }@args:
|
||||
let
|
||||
artifactDirectory = if platform == null then null else "${platform}${lib.optionalString (variant != null) "-${variant}"}";
|
||||
archiveExtension = ".${(lib.last (lib.splitString "." archive))}";
|
||||
archiveBasename = lib.removeSuffix archiveExtension archive;
|
||||
archiveBasename = lib.removeSuffix ".${(lib.last (lib.splitString "." archive))}" archive;
|
||||
overrideUnpackCmd = builtins.elem archive [ "FlutterEmbedder.framework.zip" "FlutterMacOS.framework.zip" ];
|
||||
in
|
||||
stdenv.mkDerivation ({
|
||||
|
|
Loading…
Reference in a new issue