mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-12-01 14:34:56 +03:00
use shell for running nixpkgs-update to get proper dependencies
It was using dependencies from the environment instead of the ones specified in the build inputs. Probably we need to fix this with propagated build inputs, but this works for now.
This commit is contained in:
parent
bf66887f0a
commit
8a19788164
@ -79,7 +79,7 @@ test a package with one command.
|
|||||||
git clone https://github.com/ryantm/repology-api.git && cd repology-api
|
git clone https://github.com/ryantm/repology-api.git && cd repology-api
|
||||||
nix run nixpkgs.cabal2nix -c cabal2nix --shell --hpack . > shell.nix && nix-build shell.nix && result/bin/repology-api > ../packages-to-update.txt
|
nix run nixpkgs.cabal2nix -c cabal2nix --shell --hpack . > shell.nix && nix-build shell.nix && result/bin/repology-api > ../packages-to-update.txt
|
||||||
```
|
```
|
||||||
3. Return back `cd ..` and run the tool `nix run -c nixpkgs-update --update`
|
3. Return back `cd ..` and run the tool `nix shell --run "nixpkgs-update --update"`
|
||||||
|
|
||||||
|
|
||||||
# Adding new dependencies / updating Cabal file
|
# Adding new dependencies / updating Cabal file
|
||||||
|
Loading…
Reference in New Issue
Block a user