nisspkgs/apps/firefox-esr-alias.nix
2025-03-03 22:34:32 +01:00

13 lines
330 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let inherit (pkgs) stdenv firefox-esr; in
stdenv.mkDerivation {
pname = "firefox-esr-alias";
inherit (firefox-esr) version;
buildInputs = [ firefox-esr ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
ln -s ${firefox-esr}/bin/firefox-esr $out/bin/firefox-esr
'';
}