##// END OF EJS Templates
packaging: Improve name of bower components derivation...
johbo -
r724:10b241b0 default
parent child Browse files
Show More
@@ -50,6 +50,7 b' let'
50 !startsWith "result" path;
50 !startsWith "result" path;
51
51
52 sources = pkgs.config.rc.sources or {};
52 sources = pkgs.config.rc.sources or {};
53 version = builtins.readFile ./rhodecode/VERSION;
53 rhodecode-enterprise-ce-src = builtins.filterSource src-filter ./.;
54 rhodecode-enterprise-ce-src = builtins.filterSource src-filter ./.;
54
55
55 nodeEnv = import ./pkgs/node-default.nix {
56 nodeEnv = import ./pkgs/node-default.nix {
@@ -58,7 +59,7 b' let'
58 nodeDependencies = nodeEnv.shell.nodeDependencies;
59 nodeDependencies = nodeEnv.shell.nodeDependencies;
59
60
60 bowerComponents = pkgs.buildBowerComponents {
61 bowerComponents = pkgs.buildBowerComponents {
61 name = "enterprise-ce-bower-components";
62 name = "enterprise-ce-${version}";
62 generated = ./pkgs/bower-packages.nix;
63 generated = ./pkgs/bower-packages.nix;
63 src = rhodecode-enterprise-ce-src;
64 src = rhodecode-enterprise-ce-src;
64 };
65 };
@@ -82,7 +83,6 b' let'
82 pythonLocalOverrides = self: super: {
83 pythonLocalOverrides = self: super: {
83 rhodecode-enterprise-ce =
84 rhodecode-enterprise-ce =
84 let
85 let
85 version = builtins.readFile ./rhodecode/VERSION;
86 linkNodeAndBowerPackages = ''
86 linkNodeAndBowerPackages = ''
87 echo "Link node packages"
87 echo "Link node packages"
88 rm -fr node_modules
88 rm -fr node_modules
General Comments 0
You need to be logged in to leave comments. Login now