File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 44
44
callPackage = pkgs . beam . beamLib . callPackageWith pkgs' ;
45
45
46
46
# TODO find a cleaner way to get the store path of nixpkgs from given pkgs
47
- pathNixpkgs = lib . trivial . pipe pkgsWithFixes . hello . inputDerivation . _derivation_original_args [
48
- builtins . tail
49
- builtins . head
50
- builtins . dirOf
51
- builtins . dirOf
52
- builtins . dirOf
53
- builtins . dirOf
54
- ] ;
47
+ pathNixpkgs =
48
+ if pkgsWithFixes ? outPath then
49
+ pkgsWithFixes . outPath
50
+ else
51
+ lib . trivial . pipe pkgsWithFixes . hello . inputDerivation . _derivation_original_args [
52
+ builtins . tail
53
+ builtins . head
54
+ builtins . dirOf
55
+ builtins . dirOf
56
+ builtins . dirOf
57
+ builtins . dirOf
58
+ ] ;
55
59
56
60
extensionsNixpkgs =
57
61
callPackage "${ pathNixpkgs } /pkgs/applications/editors/vscode/extensions/default.nix"
You can’t perform that action at this time.
0 commit comments