Skip to content

Commit

Permalink
remove warning, switch to mozilla nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
colemickens committed Nov 14, 2020
1 parent 67a7e90 commit c05c4bf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .ci/srht-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ secrets:
environment:
CI_BUILD: "sr.ht"
tasks:
- flake-update: |
cd flake-firefox-nightly
nix-shell -I 'https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz' -p nixUnstable --command "nix --experimental-features 'nix-command flakes' flake update --recreate-lock-file --no-registries"
- prep: |
cd flake-firefox-nightly
nix-shell --pure --command "./.ci/prep.sh"
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ otherwise is not so possbile)

# Warnings

1. This uses my fork of nixpkgs-mozilla, pending this PR: https://github.com/mozilla/nixpkgs-mozilla/pull/230

2. The structures of outputs of the flake may change when I update to export more of the
1. The structures of outputs of the flake may change if/when I update to export more of the
firefox-overlay ouputs. (a breaking change for users potentially)

# Security Warning
Expand Down
14 changes: 7 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
inputs = {
nixpkgs = { url = "github:nixos/nixpkgs/nixos-unstable"; };
cmpkgs = { url = "github:colemickens/nixpkgs/cmpkgs"; };# TODO: remove
cachixpkgs = { url = "github:nixos/nixpkgs/nixos-20.09"; };
mozilla = { url = "github:colemickens/nixpkgs-mozilla"; flake = false; };
cachix = { url = "github:nixos/nixpkgs/nixos-20.09"; };
mozilla = { url = "github:mozilla/nixpkgs-mozilla"; flake = false; };
};

outputs = inputs:
Expand Down Expand Up @@ -45,7 +45,7 @@
devShell = forAllSystems (system:
pkgs_.nixpkgs.${system}.mkShell {
nativeBuildInputs = []
++ (with pkgs_.cachixpkgs.${system}; [ cachix ])
++ (with pkgs_.cachix.${system}; [ cachix ])
++ (with pkgs_.nixpkgs.${system}; [ bash cacert curl git jq mercurial openssh ripgrep ])
++ (with pkgs_.cmpkgs.${system}; [ nixUnstable nix-prefetch nix-build-uncached ])
;
Expand Down

0 comments on commit c05c4bf

Please sign in to comment.