Comments (5)
get commit & source date epoch
This seems like something that should to be integrated into fetchgit
. I don't think there is much I can do in terms of determining when this is needed, but I do plan to add some way to pass arbitrary flags to nurl
that will make this more customizable.
postinstall completions
It would be hard for nix-init to determine when this is needed, maybe there could be some mechanism to let the user choose extra templates that are not specific to the builder? not exactly sure what I should do here
set ldflags
Sounds like a good idea, might be worth looking into integrating with goreleaser (.goreleaser.yaml)
from nix-init.
# these are things that could be added in the future
completions = false
man-pages = "auto"
# ...
These are likely in the competing design space with nixpkgs
.
I guess, we'd have to be careful between a "support tool" becoming a "nixpkgs fix".
from nix-init.
Implemented detection of ldflags
from goreleaser.yml in 06890d7
from nix-init.
choose extra templates that are not specific to the builder? not exactly sure what I should do here
If we don't have design clarity, better not do anything, at all.
I wonder how far (teaching) comments could already get us and a final prompt:
Do you want to customize the generated file? (yes)
from nix-init.
better not do anything, at all
I agree this should be the default
this is something I have in mind to customize the interactions, note that this is highly theoretical and unpolished
[interactions]
# auto means that nix-init will only prompt when necessary
# default is the preset of what we have right now
base = "default" # "never" | "auto" | "default" | "always"
# the following options will extend the `base`
# all of which will be (true | false | "auto")
# this is the default base
url = "auto"
pname = true
version = true
builder = true
# these are things that could be added in the future
completions = false
man-pages = "auto"
# ...
from nix-init.
Related Issues (20)
- Abort when building subPackages HOT 3
- pyproject build requires build-system definition HOT 3
- bitbucket support HOT 1
- error fetching from pypi on nixos-unstable HOT 2
- buildGoModule ldflags could be formatted better
- Dependency inference for buildGoModule HOT 1
- Automatically find and install man pages and shell completions HOT 2
- Selection does not work under zsh. HOT 13
- SourceHut support
- Document how to use the -n attribute HOT 2
- Generate `pytestCheckHook` input and usage in `nativeCheckInputs` if you detect a `pytest` dependency.
- Automatically set meta.mainProgram
- zon2nix integration
- Error during building HOT 10
- Unable to compile v0.2.4 on Arch HOT 5
- php.buildComposerProject integration
- Incorrect package homepage when using SSH git URL
- setuptools runtime dependencies not extracted
- Detect URLs referring to subdirectories HOT 1
- Prefix unstable packages with 0-
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 nix-init.