Download Overlay Files from GitLab Repo

Clone the git repo from GitLab (original repo):

git clone

If the edge version is out of date, you may try cloning from my fork if I have updated it:

git clone

Install Microsoft Edge Browser (dev)

Go into the newly cloned folder and run the installation process to have it install in your local user environment:

cd overlays
nix-env -i -E 'f: with import <nixpkgs> { overlays = import ./overlays.nix; config = { allowUnfree = true; }; }; microsoft-edge-dev'

Doing a pull on the GitLab folder after it’s been updated and re-running the same install process should update it to the newer version.

Manually Updating to Newer Versions

If neither repos are updated, you can try to update the default.nix file in the microsoft-edge-dev folder yourself.

Browse out to the address and find the latest version and update that in the version area of the .nix file.

Now we need to generate a sri hash for the new version of the file, download it and run the following to get the new hash to put in the .nix file:

nix hash-file --sri microsoft-edge-dev_xx.xx.xx.xx-1_amd64.deb

Go back into the overlays folder and run the same install command as before.

In some instances when you try to run Edge, it may give an error related to missing a library. You will have to research to find the package name that needs to be added.

For example, after one update, I had to add xorg.libxshmfence to the lib.makeLibraryPath area of the .nix file due to it asking about a file related to that library. When you add the new library to that, re-run the install command as before to see if it resolves the issue.

Troubleshooting Run Issues

If you have issues running edge, you may have to append the following:

LD_LIBRARY_PATH=/run/current-system/sw/lib microsoft-edge-dev

In some cases, after updating from an older version, you may have to restart your machine even after killing any existing msedge processes.

Useful References

Microsoft Edge Dev #101223 Github Issue with Run Fix

Original GitLab Repo with Microsoft Edge .Nix File

Tags: ,