Skip to content

Commit

Permalink
use unstable chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Apr 5, 2021
1 parent 90656d1 commit 380b3c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pkgs/chromium-wayland/default.nix
@@ -1,20 +1,20 @@
{ pkgs ? import <nixpkgs> { }, ... }:
{ pkgs ? import <nixpkgs> { }, chromium ? pkgs.chromium, ... }:
pkgs.stdenv.mkDerivation {
name = "chromium-wayland";

src = ./.;

buildInputs = with pkgs; [ makeWrapper chromium ];
buildInputs = [ pkgs.makeWrapper chromium ];
buildPhase = "true";

installPhase = ''
mkdir $out/
ln -s ${pkgs.chromium}/bin $out/bin
ln -s ${chromium}/bin $out/bin
mkdir $out/share
ln -s ${pkgs.chromium}/share/icons $out/share/icons
ln -s ${pkgs.chromium}/share/man $out/share/man
ln -s ${chromium}/share/icons $out/share/icons
ln -s ${chromium}/share/man $out/share/man
# the rest of this setup is all to prepare with this... just adding two
# flags to the desktop entry!
Expand Down
4 changes: 3 additions & 1 deletion torch/default.nix
Expand Up @@ -77,7 +77,9 @@ in {
];
home.packages = [
pkgs.wl-clipboard
(pkgs.callPackage ../pkgs/chromium-wayland { })
(pkgs.callPackage ../pkgs/chromium-wayland {
chromium = unstable.chromium;
})
unstable.obsidian
pkgs._1password-gui
pkgs.gnome3.nautilus
Expand Down

0 comments on commit 380b3c8

Please sign in to comment.