Skip to content

Commit

Permalink
Nix shell: Use niv from nixpkgs (#2868)
Browse files Browse the repository at this point in the history
it is up to date enough these days, so a good chance to simplify the
setup.
  • Loading branch information
nomeata authored Oct 30, 2021
1 parent b76cda2 commit 6a02e24
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/niv-updater-rare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: knl/niv-updater-action@60f23607814cf4f2e80a1e32ee74f8323897d09e
with:
# might be too noisy
whitelist: 'ic-ref,musl-wasi,niv'
whitelist: 'ic-ref,musl-wasi'
labels: |
automerge-squash
keep_updating: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/niv-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: knl/niv-updater-action@60f23607814cf4f2e80a1e32ee74f8323897d09e
with:
# might be too noisy
blacklist: 'nixpkgs,ic-ref,musl-wasi,niv'
blacklist: 'nixpkgs,ic-ref,musl-wasi'
labels: |
automerge-squash
keep_updating: true
Expand Down
5 changes: 0 additions & 5 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ let
sources = import sourcesnix { sourcesFile = ./sources.json; pkgs = super; };
})

# add a newer version of niv
(self: super: {
niv = (import self.sources.niv { pkgs = super; }).niv;
})

# Selecting the ocaml version
# (self: super: { ocamlPackages = super.ocamlPackages; })

Expand Down
13 changes: 0 additions & 13 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,6 @@
"url": "https://github.com/WebAssembly/wasi-libc/archive/5ccfab77b097a5d0184f91184952158aa5904c8d.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"niv": {
"branch": "master",
"builtin": false,
"description": "Easy dependency management for Nix projects",
"homepage": "https://github.com/nmattia/niv",
"owner": "nmattia",
"repo": "niv",
"rev": "65a61b147f307d24bfd0a5cd56ce7d7b7cc61d2e",
"sha256": "17mirpsx5wyw262fpsd6n6m47jcgw8k2bwcp1iwdnrlzy4dhcgqh",
"type": "tarball",
"url": "https://github.com/nmattia/niv/archive/65a61b147f307d24bfd0a5cd56ce7d7b7cc61d2e.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs": {
"branch": "release-21.05",
"builtin": true,
Expand Down

0 comments on commit 6a02e24

Please sign in to comment.