Last active
November 29, 2017 13:26
-
-
Save uskudnik/996f2214f2282656914444e1def5a596 to your computer and use it in GitHub Desktop.
configuration.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
let channels = rec { | |
pkgs-unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) { config.allowUnfree = true; }; | |
pkgs-master = import (fetchTarball https://github.com/NixOs/nixpkgs/archive/master.tar.gz) { config.allowUnfree = true; }; | |
}; | |
in with channels; | |
... | |
environment.systemPackages = with pkgs; [ | |
firefox-esr | |
pkgs-master.firefox | |
... | |
] | |
# Tried searching for the file, could find it: | |
$ sudo find /run/current-system/sw/bin -lname /nix/store/0ncpkak56c3p8ac6aaa3pca6hm8xyjf5-firefox-52.0.2esr/bin/firefox | |
/run/current-system/sw/bin/firefox | |
$ | |
$ sudo find /run/current-system/sw/bin -lname /nix/store/y43dyj2b91ydb2dn2mr8cm8zgjxmmswi-firefox-57.0/bin/firefox | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment