Comments (2)
I think some heuristics will have to be used. My NIX_PATH
points to a local directory where nixpkgs is checked out. So in order to infer a pin the program would have to try to find out what commit it was checked out at and then try to find that commit in one of the remotes.
In your case as you already link to a tarball then that could be used directly.
I'm not sure how channels work exactly.
from niv.
I'm also using a local checkout of Nixpkgs with some custom changes ontop and it would be great if niv
could use it like I do it with NIX_PATH. Uncommited changes in Nixpkgs would still have an effect.
from niv.
Related Issues (20)
- niv tries to unpack local dependency HOT 3
- `nix-env -iA nixpkgs.niv` fails with Base64 error on MacOS Catalina HOT 3
- Use install-nix-action and cachix-action HOT 1
- FATAL: Could not read the output of 'nix-prefetch-url' HOT 5
- [email protected]: Permission denied (publickey). HOT 1
- aarch64-darwin build cycle HOT 2
- default nixpkgs branch is 20.05 HOT 1
- Bug while niv update HOT 2
- vendor dependencies HOT 1
- Pinning nixos nixpkgs using niv in 22.05 fails? HOT 2
- Apple M1 issue HOT 9
- niv doesn't allow overriding the names of the download derivation HOT 2
- niv update doesn't update the description and homepage HOT 1
- Add "motivation" section HOT 1
- statix linting HOT 1
- warning: haskellLib.generateOptparseApplicativeCompletion is deprecated in favor of haskellPackages.generateOptparseApplicativeCompletions (plural!)
- Any interest in bringing this project under the NixOS organization? HOT 13
- error: in pure evaluation mode, 'fetchTarball' requires a 'sha256' argument HOT 2
- Gap between rolling-release branch and static commit hash
- feature request: force update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from niv.