Skip to content

Commit

Permalink
Merge pull request #2240 from wireapp/fix-niv
Browse files Browse the repository at this point in the history
nix: fix niv
  • Loading branch information
flokli authored Mar 28, 2022
2 parents 97c1f92 + e7c4fa8 commit b744eb8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,7 @@ telepresence.log
# local config
.envrc.local
cabal.project.local

# Nix output symlinks
result
result-*
2 changes: 1 addition & 1 deletion dev-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ let
pkgs.libsodium.dev
pkgs.libxml2.dev
pkgs.ncurses.dev
pkgs.niv.out
pkgs.openssl.dev
pkgs.pcre.dev
pkgs.snappy.dev
Expand Down Expand Up @@ -178,6 +177,7 @@ in
pkgs.gnumake
(pkgs.haskell-language-server.override { supportedGhcVersions = [ "8107" ]; })
pkgs.jq
pkgs.niv
pkgs.ormolu
pkgs.telepresence
pkgs.wget
Expand Down
2 changes: 0 additions & 2 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ let
pkgs = import sources.nixpkgs {
config.allowUnfree = true;
overlays = [
# the tool we use for versioning (The thing that generates sources.json)
(_: _: { niv = (import sources.niv { }).niv; })
# All wire-server specific packages
(import ./overlay.nix)

Expand Down
12 changes: 0 additions & 12 deletions nix/sources.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
{
"niv": {
"branch": "master",
"description": "Easy dependency management for Nix projects",
"homepage": "https://github.com/nmattia/niv",
"owner": "nmattia",
"repo": "niv",
"rev": "5830a4dd348d77e39a0f3c4c762ff2663b602d4c",
"sha256": "1d3lsrqvci4qz2hwjrcnd8h5vfkg8aypq3sjd4g3izbc8frwz5sm",
"type": "tarball",
"url": "https://github.com/nmattia/niv/archive/5830a4dd348d77e39a0f3c4c762ff2663b602d4c.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs": {
"branch": "nixpkgs-unstable",
"description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to",
Expand Down

0 comments on commit b744eb8

Please sign in to comment.