Skip to content

Commit

Permalink
flake cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Nov 24, 2024
1 parent 96907a8 commit b9b7490
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 214 deletions.
4 changes: 2 additions & 2 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
(final: prev: {
demostf-frontend-toolchain = final.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
})
(import ./overlay.nix)
(import ./nix/overlay.nix)
];
toolchain = pkgs: pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
tools = pkgs: with pkgs; [
Expand Down
86 changes: 0 additions & 86 deletions flake_.nix

This file was deleted.

122 changes: 0 additions & 122 deletions module.nix

This file was deleted.

2 changes: 1 addition & 1 deletion node_modules.nix → nix/node_modules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ let
inherit (lib.sources) sourceByRegex;
in
npmlock2nix.v2.node_modules {
src = sourceByRegex ./. [ "package.*" ];
src = sourceByRegex ../. [ "package.*" ];
nodejs = nodejs_20;
}
File renamed without changes.
4 changes: 2 additions & 2 deletions package.nix → nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
pname = "demostf-frontend";
version = "0.1.0";

src = sourceByRegex ./. [ "Cargo.*" "(src|build|images|script|style|.sqlx)(/.*)?" ];
src = sourceByRegex ../. [ "Cargo.*" "(src|build|images|script|style|.sqlx)(/.*)?" ];

buildInputs = [ openssl ];

Expand All @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec {
doCheck = false;

cargoLock = {
lockFile = ./Cargo.lock;
lockFile = ../Cargo.lock;
outputHashes = {
"jsx-dom-expressions-0.1.0" = "sha256-5TN9FBfPYznTkpL9ZtnKv3RghX7r8c2WvSL1sc+F0cw=";
};
Expand Down

0 comments on commit b9b7490

Please sign in to comment.