Comments (3)
That concept isn't completely clear to me yet, but I'm wondering if: https://github.com/tweag/gomod2nix/blob/master/builder/default.nix#L50-L60 isn't violating IFD. If instead of using and parsing toml, gomod2nix
would just generate a nix file that would be simply imported, wouldn't then nix respect local configuration?
from gomod2nix.
I've added an override interface in #42 for dealing with these types of issues.
The same interface could also potentially be used to apply patches to individual upstream packages.
from gomod2nix.
#55 should help, but it's not a full fix for private dependencies which are generally a bit painful.
from gomod2nix.
Related Issues (20)
- zsh: command not found: gomod2nix HOT 1
- Using flakes with go.mod replace directives
- Overlay
- support passing extra build flags HOT 1
- cross compiling don't work HOT 1
- Pass tags to go build? HOT 4
- Build failure with opentelemetry dependency: cannot find package "." HOT 1
- error: value is null while a list was expected in parser.nix:158 HOT 1
- buildGoApplication.override fails HOT 2
- x509: OSStatus -26276
- Make `mkVendorEnv` generate `modules.txt` HOT 1
- `nix build` hangs on `Building subPackage .` HOT 1
- `gomod2nix generate` fails HOT 2
- gomod2nix generate results in error path is not valid HOT 5
- Is the default overlay meant to be for the Apple silicon? HOT 4
- Problem: gomod2nix don't call correct version of golang HOT 3
- mkGoEnv: different locations for `tools.go` and `go.mod/sum`?
- Does not symlink modules with overlapping paths
- Go Workspace guidance
- how to handle builder? 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 gomod2nix.