15 Sep 2025 |
aloisw | Generally yes, but I can't guarantee a specific turnaround time (probably less than 1 day though). | 16:45:48 |
aloisw | (Not to be understood in the "I will be slow" sense, but more like "please don't consider me paged in the middle of the night".) | 16:49:17 |
laurents | raitobezarius Ok, I think it's showable-ish. My code is at https://gitlab.com/madada-team/dada-core/-/tree/add-theme-flake?ref_type=heads. Running a nix develop --no-pure-eval (no pure eval because I use devenv) should show you the bug. | 17:02:19 |
raitobezarius | thx | 17:02:37 |
raitobezarius | laurents: it uses a local path for alaveteli | 17:33:47 |
raitobezarius | do you have a git ref or something? | 17:33:53 |
raitobezarius | (sorry for the delay, my OS scheduler decided to look now) | 17:34:04 |
laurents | sorry, I'm super confused, I was sure I had removed my local paths. is https://github.com/laurentS/alaveteli/blob/nix-devenv what you're after? (that's the nix stuff, but also the entire codebase for alaveteli) | 17:51:47 |
raitobezarius | i'm dumb | 17:52:02 |
raitobezarius | i was on main | 17:52:04 |
raitobezarius | give me a sec | 17:52:14 |
raitobezarius | (actually, give minutes) | 17:53:36 |
raitobezarius | * (actually, give me minutes) | 17:53:40 |
raitobezarius | laurents: the mistake in the lix code seems trivial at least | 18:31:05 |
raitobezarius | submodules is supported only for git:// | 18:31:12 |
raitobezarius | not for github:// | 18:31:15 |
raitobezarius | which… kinda makes sense? | 18:31:19 |
raitobezarius | github:// archives doesn't give you submodules, does it? | 18:31:32 |
laurents | well, to be honest, I was working with a local copy of everything, so I hit the but with a "path" input | 18:32:04 |
raitobezarius | I made it work without change to Lix | 18:32:27 |
raitobezarius | just by changing the input type | 18:32:30 |
raitobezarius |
diff --git i/flake.lock w/flake.lock
index 01c49ec..a09a7f1 100644
--- i/flake.lock
+++ w/flake.lock
@@ -11,18 +11,18 @@
},
"locked": {
"lastModified": 1757954848,
- "narHash": "sha256-T/T5Kz2fWZpYNeZlHQ8jomJd6X6nVFpvKqPPhSWFDgM=",
- "owner": "laurents",
- "repo": "alaveteli",
+ "narHash": "sha256-7OvEveYbZHk8KsQKN4KXkuZpMv81JRkPPQj5bJ2Ph18=",
+ "ref": "nix-devenv",
"rev": "3eb0e355f2451bfa6149bb5e732034f8d4ffeaf2",
+ "revCount": 20314,
"submodules": true,
- "type": "github"
+ "type": "git",
+ "url": "https://github.com/laurents/alaveteli"
},
"original": {
- "owner": "laurents",
"ref": "nix-devenv",
- "repo": "alaveteli",
- "type": "github"
+ "type": "git",
+ "url": "https://github.com/laurents/alaveteli"
}
},
"cachix": {
diff --git i/flake.nix w/flake.nix
index f845fe6..b3e936f 100644
--- i/flake.nix
+++ w/flake.nix
@@ -4,7 +4,7 @@
inputs = {
nixpkgs.url = "github:cachix/devenv-nixpkgs/rolling";
alaveteli-flake = {
- url = "github:laurents/alaveteli/nix-devenv";
+ url = "git+https://github.com/laurents/alaveteli?ref=nix-devenv";
inputs.nixpkgs.follows = "nixpkgs";
};
};
| 18:32:51 |
raitobezarius | * diff --git i/flake.lock w/flake.lock
index 01c49ec..a09a7f1 100644
--- i/flake.lock
+++ w/flake.lock
@@ -11,18 +11,18 @@
},
"locked": {
"lastModified": 1757954848,
- "narHash": "sha256-T/T5Kz2fWZpYNeZlHQ8jomJd6X6nVFpvKqPPhSWFDgM=",
- "owner": "laurents",
- "repo": "alaveteli",
+ "narHash": "sha256-7OvEveYbZHk8KsQKN4KXkuZpMv81JRkPPQj5bJ2Ph18=",
+ "ref": "nix-devenv",
"rev": "3eb0e355f2451bfa6149bb5e732034f8d4ffeaf2",
+ "revCount": 20314,
"submodules": true,
- "type": "github"
+ "type": "git",
+ "url": "https://github.com/laurents/alaveteli"
},
"original": {
- "owner": "laurents",
"ref": "nix-devenv",
- "repo": "alaveteli",
- "type": "github"
+ "type": "git",
+ "url": "https://github.com/laurents/alaveteli"
}
},
"cachix": {
diff --git i/flake.nix w/flake.nix
index f845fe6..b3e936f 100644
--- i/flake.nix
+++ w/flake.nix
@@ -4,7 +4,7 @@
inputs = {
nixpkgs.url = "github:cachix/devenv-nixpkgs/rolling";
alaveteli-flake = {
- url = "github:laurents/alaveteli/nix-devenv";
+ url = "git+https://github.com/laurents/alaveteli?ref=nix-devenv";
inputs.nixpkgs.follows = "nixpkgs";
};
};
| 18:32:59 |
raitobezarius | so I guess the question is | 18:33:11 |
raitobezarius | should submodules be an available option with the path fetcher type | 18:33:18 |
raitobezarius | or wait | 18:33:43 |
raitobezarius | you got an error because the thing referred to self.submodules ? | 18:33:48 |
raitobezarius | let me try to reproduce your thing | 18:34:33 |
raitobezarius | with path | 18:34:34 |
laurents | this is the input I had url = "path:/home/laurent/Sites/dada/alaveteli_dev"; | 18:34:35 |