Comments (8)
It does: https://github.com/sagikazarmark/xdevenv
from devenv.
@roberth maybe you can help here, how can additional devenv modules be specified?
from devenv.
After staring at the code for quite some time, I believe the only way I could achieve this is by adding modules here somehow:
Line 7 in cae4522
I'm not sure how I could do that though.
@roberth any pointers would be greatly appreciated.
from devenv.
All NixOS modules can be extended further with the 'imports' key (array of files containing modules).
Have you tried doing that already?
from devenv.
@thenonameguy I haven't, but the challenge I see is that I don't want to extend the flake-parts module, I want to extend devenv directly. It's possible I'm missing something obvious though.
from devenv.
Not sure exactly in which way you want to extend it, but here's one:
I think that's what @thenonameguy wanted to suggest.
If the import needs to reference another repo, I could write something for the case where both repos are flake based. Otherwise I have to ask:
@domenkozar Can devenv.yaml import a devenv module from a flake attribute?
from devenv.
Thanks @roberth , I believe that's exactly what I was looking for.
If the import needs to reference another repo, I could write something for the case where both repos are flake based.
In my case, I'd like to reuse a set of modules across a number of repos, so yeah, I'm thinking something like this:
{
inputs = {
# ...
}
outputs = inputs@{ ... }: {
devenvModules = {
default = {};
};
}
}
And then import that module in a shell.
Let me give this a try and get back to you.
from devenv.
Does that work? :)
from devenv.
Related Issues (20)
- Ctrl-C in one terminal stops processes of other
- CVE-2024-27297 on inputs.nix HOT 1
- languages.ruby does not support building gems with native extensions HOT 1
- Allow passing specialArgs in `imports` modules HOT 2
- Extending devenv module HOT 2
- Rename `devenv processes stop` to `devenv processes down` HOT 3
- Add `devenv processes tui` to connect to detached processes HOT 2
- How to allowUnfree in flake.nix? HOT 1
- mysql cli probably shouldn't define --defaults-file HOT 6
- Add `devenv processes status` command
- No support for emacs? HOT 6
- Language cplusplus missing libcxx
- integrate nix-pkgset
- locked nixpkgs index is redownloaded every hour HOT 3
- Are the Postgres `initdb` default arguments corret? HOT 1
- Resolve environment variables in config HOT 5
- Caddy error: attribute 'mainProgram' missing HOT 1
- devenv adhoc <packages>
- Run `devenv shell` when creating the container
- monorepo importing 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 devenv.