Skip to content

Commit

Permalink
Upgrade to nixpkgs 19.03
Browse files Browse the repository at this point in the history
  • Loading branch information
cocreature committed May 3, 2019
1 parent f4d8e13 commit 5d36995
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 25 deletions.
8 changes: 4 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ nixpkgs_local_repository(
name = "nixpkgs",
nix_file = "//nix:nixpkgs.nix",
nix_file_deps = [
"//nix:nixpkgs/nixos-18.09/default.nix",
"//nix:nixpkgs/nixos-18.09/default.src.json",
"//nix:nixpkgs/nixos-19.03/default.nix",
"//nix:nixpkgs/nixos-19.03/default.src.json",
],
)

Expand All @@ -63,8 +63,8 @@ dev_env_nix_repos = {
common_nix_file_deps = [
"//nix:bazel.nix",
"//nix:nixpkgs.nix",
"//nix:nixpkgs/nixos-18.09/default.nix",
"//nix:nixpkgs/nixos-18.09/default.src.json",
"//nix:nixpkgs/nixos-19.03/default.nix",
"//nix:nixpkgs/nixos-19.03/default.src.json",
]

# Use Nix provisioned cc toolchain
Expand Down
2 changes: 1 addition & 1 deletion nix/nixpkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

let
# See ./nixpkgs/README.md for upgrade instructions.
src = import ./nixpkgs/nixos-18.09;
src = import ./nixpkgs/nixos-19.03;

# package overrides
overrides = _: pkgs: rec {
Expand Down
4 changes: 2 additions & 2 deletions nix/nixpkgs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This folder contains the upstream Nix channels that are used for the dev-env.

## Channels

- `nixos-18.03`
- `nixos-19.03`

## Updating

Expand All @@ -17,6 +17,6 @@ $ nix-update-src-json [CHANNEL]
Eg:

```
nix-update-src-json ./nixos-18.03
nix-update-src-json ./nixos-19.03
```

8 changes: 0 additions & 8 deletions nix/nixpkgs/nixos-18.09/default.nix

This file was deleted.

7 changes: 0 additions & 7 deletions nix/nixpkgs/nixos-18.09/default.src.json

This file was deleted.

4 changes: 2 additions & 2 deletions nix/nixpkgs/nixos-19.03/default.src.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"owner": "NixOS",
"repo": "nixpkgs-channels",
"branch": "nixos-19.03",
"rev": "5c52b25283a6cccca443ffb7a358de6fe14b4a81",
"sha256": "0fhbl6bgabhi1sw1lrs64i0hibmmppy1bh256lq8hxy3a2p1haip"
"rev": "915ce0f1e1a75adec7079ddb6cd3ffba5036b3fc",
"sha256": "1kmx29i3xy4701z4lgmv5xxslb1djahrjxmrf83ig1whb4vgk4wm"
}
1 change: 0 additions & 1 deletion nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ in rec {
cacert = pkgs.cacert;
cheat = pkgs.cheat;
coreutils = pkgs.coreutils;
docker-compose = pkgs.python36Packages.docker_compose;
dockerd = pkgs.docker;
findutils = pkgs.findutils;
ftop = pkgs.ftop;
Expand Down

0 comments on commit 5d36995

Please sign in to comment.