This repository was archived by the owner on Apr 6, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ function ensure_flake_exists {
5959 };
6060 outputs = { self, kernel-builder, }:
6161 kernel-builder.lib.genFlakeOutputs {
62+ inherit self;
6263 path = ./.;
63- rev = self.shortRev or self.dirtyShortRev or self.lastModifiedDate;
6464 };
6565}
6666FLAKE_EOF
Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ function ensure_flake_exists {
8383
8484 outputs = { self, kernel-builder, }:
8585 kernel-builder.lib.genFlakeOutputs {
86+ inherit self;
8687 path = ./.;
87- rev = self.shortRev or self.dirtyShortRev or self.lastModifiedDate;
8888 };
8989}
9090FLAKE_EOF
@@ -234,4 +234,4 @@ RUN chmod +x /home/nixuser/bin/cli.sh && \
234234USER nixuser
235235
236236# Use the cli.sh script directly
237- ENTRYPOINT ["/home/nixuser/bin/cli.sh"]
237+ ENTRYPOINT ["/home/nixuser/bin/cli.sh"]
Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ the kernel's `flake.nix` to use the `pythonCheckInputs` option:
117117 kernel-builder,
118118 }:
119119 kernel-builder.lib.genFlakeOutputs {
120+ inherit self;
120121 path = ./.;
121- rev = self.shortRev or self.dirtyShortRev or self.lastModifiedDate;
122122
123123 # The einops and numpy test dependencies are added here:
124124 pythonCheckInputs = pkgs: with pkgs; [ einops numpy ];
Original file line number Diff line number Diff line change 1212 } :
1313
1414 kernel-builder . lib . genFlakeOutputs {
15+ inherit self ;
1516 path = ./. ;
16- rev = self . shortRev or self . dirtyShortRev or self . lastModifiedDate ;
1717 } ;
1818}
Original file line number Diff line number Diff line change 1111 kernel-builder ,
1212 } :
1313 kernel-builder . lib . genFlakeOutputs {
14+ inherit self ;
1415 path = ./. ;
15- rev = self . shortRev or self . dirtyShortRev or self . lastModifiedDate ;
1616 } ;
1717}
Original file line number Diff line number Diff line change 1111 kernel-builder ,
1212 } :
1313 kernel-builder . lib . genFlakeOutputs {
14+ inherit self ;
1415 path = ./. ;
15- rev = self . shortRev or self . dirtyShortRev or self . lastModifiedDate ;
1616 } ;
1717}
Original file line number Diff line number Diff line change 1111 kernel-builder ,
1212 } :
1313 kernel-builder . lib . genFlakeOutputs {
14+ inherit self ;
1415 path = ./. ;
15- rev = self . shortRev or self . dirtyShortRev or self . lastModifiedDate ;
1616 torchVersions = defaultVersions : [
1717 {
1818 torchVersion = "2.7" ;
Original file line number Diff line number Diff line change 1111 kernel-builder ,
1212 } :
1313 kernel-builder . lib . genFlakeOutputs {
14+ inherit self ;
1415 path = ./. ;
15- rev = self . shortRev or self . dirtyShortRev or self . lastModifiedDate ;
1616 } ;
1717}
Original file line number Diff line number Diff line change 1111 kernel-builder ,
1212 } :
1313 kernel-builder . lib . genFlakeOutputs {
14+ inherit self ;
1415 path = ./. ;
15- rev = self . shortRev or self . dirtyShortRev or self . lastModifiedDate ;
1616 } ;
1717}
Original file line number Diff line number Diff line change 7070 genFlakeOutputs =
7171 {
7272 path ,
73- rev ,
73+ rev ? null ,
74+ self ? null ,
7475
7576 # This option is not documented on purpose. You should not use it,
7677 # if a kernel cannot be imported, it is non-compliant. This is for
9798 system
9899 path
99100 rev
101+ self
100102 doGetKernelCheck
101103 pythonCheckInputs
102104 pythonNativeCheckInputs
You can’t perform that action at this time.
0 commit comments