fix(hypr): allow dev script to work on normal repos
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
33b8a9e097
commit
400a9f831a
1 changed files with 3 additions and 4 deletions
|
@ -8,12 +8,11 @@
|
|||
home.packages = [
|
||||
(pkgs.writeShellScriptBin "testChanges" ''
|
||||
rm -r /home/matt/git/$1/$2/{.cache,build}
|
||||
cd /home/matt/.nix || return
|
||||
nix flake update "$1"
|
||||
nh os switch
|
||||
(
|
||||
cd "/home/matt/git/$1/$2"
|
||||
nix develop /home/matt/git/$1 -c cmake -S . -B build/ -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
)
|
||||
cd "/home/matt/git/$1/$2" || return
|
||||
nix develop /home/matt/git/$1 -c cmake -S . -B build/ -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
'')
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue